On Wed, 17 Oct 2012 12:23:15 +0200
"Karel Zak" <[email protected]> wrote:
> 
> The reason why libmount reads the mountinfo file is that the file
> provides more information (like FS root, mount Id, ...) necessary for
> libmount. From my point of view the /proc/mounts should be enough for
> programs like df(1) as you don't need any additional information.
> 
> I have doubts that rootfs entry is good reason to maintain another
> parser.
> 
>     Karel
> 

Yes, that's why I just wrote a simple patch to hide the "rootfs" entry.
It's the most simple and functional way to do it.

-- 
Robert Milasan

L3 Support Engineer
SUSE Linux (http://www.suse.com)
email: [email protected]
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A

Reply via email to