[parted-devel] Stop trying to read "none, sunrpc..."

Joel Granados jgranado at redhat.com
Mon Nov 3 16:39:59 UTC 2008


Hey List:

Parted, when trying to figure out what device is mounted reads /proc/mounts, /proc/swaps and /etc/mtab.  Problem is thta these files sometimes contain lines tarting with "none", "sunrpc" and others.  This patch avoids these unnecessary IO operations.

Regards

PS: comments greatly appreciated.

-- 
Joel Andres Granados
Red Hat / Brno Czech Republic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: partedNone.diff
Type: application/octet-stream
Size: 592 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20081103/bbef7224/attachment.obj 


More information about the parted-devel mailing list