bug#16539: More details on df command output for you
From:
Bernhard Voelker
Subject:
bug#16539: More details on df command output for you
Date:
Tue, 28 Jan 2014 12:13:00 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
On 01/27/2014 11:47 PM, Bernhard Voelker wrote:
> On 01/27/2014 02:06 AM, Pádraig Brady wrote:
>> wrt c) and annoying warnings, I also notice `df -a` on a default Fedora 20
>> install here,
>> giving multiple duplicate warnings like:
>> df: ‘net:[4026532416]’: No such file or directory
>> df: ‘net:[4026532416]’: No such file or directory
>> That's due to:
>> $ grep net: /proc/mounts
>> proc net:[4026532416] proc rw,nosuid,nodev,noexec,relatime 0 0
>> proc net:[4026532416] proc rw,nosuid,nodev,noexec,relatime 0 0
>> Which is due to support for namespaces.
>
> Ugh ... and that's a third problm class for df. ;-(
>
>> Seems like we should not try to lookup non absolute mount points?
>
> yes, that's probably our best chance.
Thinking further, this is mandatory:
$ touch 'net:[4026532416]'
This would make the stat() in df succeed and lead to wrong output.
Have a nice day,
Berny