Jeff Boerio wrote:
> I played around with the source code a bit, and found that for this
> particular fstype, it was expecting to see "nfs3". So it looks like df
> is working as expected.
I know you have already solved your problem. But I thought I would
provide a hint. You can use find -printf with the %F format to see
filesystem types. Here is a rather backward but functional method to
see the filesystem type of the current directory.
find . -maxdepth 1 -printf "%F\n" | head -n 1
It should also show up when the mount table is dumped when 'mount'
runs with no options.
> So I'd like to change my bug request to a feature enhancement.
>
> If I were to say "df -x nfs" it would be nice to see df look at all
> fstypes that contain ^nfs and exclude them. This would work for nfs,
> nfs2, nfs3, etc.
The concept of using an exclude by regular expression seems sound.
But it would take a non-trivial effort to implement it. It would need
to be a different option than currently implemented with -x so as not
to overlap with it.
Bob