bug-coreutils
[Top][All Lists]
Advanced

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

Re: df shouldn't list mount points that it can't access


From: Paul Eggert
Subject: Re: df shouldn't list mount points that it can't access
Date: Tue, 11 Oct 2005 11:16:34 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

n0dalus <address@hidden> writes:

> I managed to get the problem fixed by adding 'proc' to the list of
> filesystems to mark as dummy. I'm not sure if this is the right thing
> to do (do people want to be able to see proc mounts by default?), but
> it works for me.

No, people don't want to be able to see proc mounts by default.  But
for proc mounts, fsu.fsu_blocks should be zero so the following code
in show_dev should prevent the mount from being listed:

  if (fsu.fsu_blocks == 0 && !show_all_fs && !show_listed_fs)
    return;

Can you please investigate why that isn't happening for you?
I'm worried that your fix masks out a more-fundamental bug.
Thanks.




reply via email to

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