Hi,

I was trying to make a script that searches for files that are
world writable, and I wanted to make sure it only happens on
certain filesystemtypes.

The directive -fstype was ignored so I read the manpage:

       -fstype type
              File is on a filesystem of  type  type.   The  valid  filesystem
              types  vary among different versions of Unix; an incomplete list
              of filesystem types that are accepted on some version of Unix or
              another  is:  ufs, 4.2, 4.3, nfs, tmp, mfs, S51K, S52K.  You can
              use -printf with the %F directive  to  see  the  types  of  your
              filesystems.

And then ran the following command:

        find . -printf '%F %p\n'    

And the result was that all files were of the type unknown.

~% find --version
GNU find version 4.2.25
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION 

This problem also exists with 4.2.20



# Han


_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to