bug#16539: More details on df command output for you
From:
Pádraig Brady
Subject:
bug#16539: More details on df command output for you
Date:
Tue, 28 Jan 2014 11:34:22 +0000
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
On 01/28/2014 11:13 AM, Bernhard Voelker wrote:
> 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.
OK I'll do a patchset for these df issue this evening hopefully.
thanks,
Pádraig.