GNU bug report logs -
#16539
df command, possible bug?
Previous Next
Reported by: crubel <at> compro.net
Date: Fri, 24 Jan 2014 20:39:01 UTC
Severity: normal
Done: Bernhard Voelker <mail <at> bernhard-voelker.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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
This bug report was last modified 10 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.