n0dalus <[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to