Richard L. Hamilton wrote:

A way to get df to not show all the rest of the pseudo filesystems without 
their own storage
would make the output a lot easier to read (esp. not showing lofs mounts, since 
they tend
to be rather long and not format nicely).  At present, that would be at least:
ctfs devfs fd lofs mntfs objfs proc

I'm with you.  We'd raised this during the in-kernel sharetab code
walkthrough, but we ultimately concluded we should make that apply to
all of the pseudo-fs's and wanted to separate out the PSARC work.

BTW, there are bugs filed on stuff near this; thanks to Frank Batschulat
for this list:

5076899 df should not display information for non-filesystem mounts
4828794 df confused by lofs mounts and non-existent paths
4963325 df output inside zone can be confusing

I think the way to do this that would cause the least breakage would be to have 
a new file
and a new option to not display filesystems corresponding to entries in that 
file (which could
be used together with -l to suppress what either would suppress).

This would be acceptable, but I'd prefer these filesystems mount options
included 'ignore' like autofs mounts do, myself.

Rob T
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to