coreutils
[Top][All Lists]
Advanced

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

RE: Hide rootfs filesystem in df


From: Voelker, Bernhard
Subject: RE: Hide rootfs filesystem in df
Date: Mon, 24 Sep 2012 14:16:16 +0000

Robert Milasan wrote:
> On Mon, 24 Sep 2012 13:35:49 +0000
> "Bernhard Voelker" <address@hidden> wrote:
>
> 
> > Thanks for the patch.
> > The actual patch won't be so small, because the user would
> > want to see rootfs if "df -a" is used or when she
> > explictly calls df for the mount point.
>
> Don't think that makes sense to have at all "rootfs". If you check
> mount you'll see that there is no rootfs. I've checked mount using
> strace and seems that it reads /proc/self/mountinfo and there is no
> rootfs.
>
> Anyway, it's your choice, but has no meaning/reason being able to see
> "rootfs" even when running "df -a".

Not quite - util-linux had also to make a change related
to a rootfs entry in /proc/self/mountinfo:
http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commit;h=bf91904c24c470a750a7efa8ceaed3f9e9996b6c

Have a nice day,
Berny



reply via email to

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