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:
Wed, 12 Oct 2005 14:54:18 -0700
User-agent:
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)
n0dalus <address@hidden> writes:
> if (get_fs_usage (stat_file, disk, &fsu))
> {
> + if(errno == EACCES && !show_all_fs && !show_listed_fs)
> + return; /* Ignore mount points we can't access */
That's a bit extreme, no? I can imagine situations where you'd want
errors like that reported.
Is there some other clue that the file system is a proc file system
that we normally don't want to know about?