Why can't df readily be persuaded not to show filesystems for which storage 
isn't
an issue?  I'm thinking of mnttab, fd, proc, objfs, ctfs, and anything else 
like that with
0 blocks of storage; and probably also of lofs mounts, since the real storage 
isn't associated
with them.  That would cut the clutter in the default output, allowing one to 
more easily
see actual or potential space issues.

Short of modifying automountd to set ignore tag (or option on the fd 
filesystem) for
specified filesystem types (and doing something uniform in terms of ignore as 
an option vs a non-option tag - presently it's only an option on autofs and fd, 
and settable as a mnttab tag on everything else), it seems to me the minimal 
change would be to modify df
to be configurable to ignore certain filesystem types (a new /etc/default/df 
file, maybe),
unless -a was given, or -F fstype or a pathname were given to explicitly 
request information
that would otherwise not be presented.  As long as the list of filesystem types 
to ignore
(barring some contrary command line usage) were configurable, it shouldn't be 
an issue
of breaking user scripts - the supplied configuration file could be empty; and 
hopefully
it shouldn't be hard to find and fix any scripts that are part of Solaris that 
depend on
the present behavior.

Is there anyone else that would like by default not to see non-space-related 
output
from df?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to