[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hide rootfs filesystem in df

From: Robert Milasan
Subject: Re: Hide rootfs filesystem in df
Date: Wed, 17 Oct 2012 12:32:43 +0200

On Wed, 17 Oct 2012 12:23:15 +0200
"Karel Zak" <address@hidden> 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 (
email: address@hidden
GPG fingerprint: B6FE F4A8 0FA3 3040 3402  6FE7 2F64 167C 1909 6D1A

reply via email to

[Prev in Thread] Current Thread [Next in Thread]