(find.info.gz) Filesystems
Info Catalog
(find.info.gz) Directories
(find.info.gz) Finding Files
(find.info.gz) Combining Primaries With Operators
Filesystems
===========
A "filesystem" is a section of a disk, either on the local host or
mounted from a remote host over a network. Searching network
filesystems can be slow, so it is common to make `find' avoid them.
There are two ways to avoid searching certain filesystems. One way
is to tell `find' to only search one filesystem:
- Option: -xdev
- Option: -mount
Don't descend directories on other filesystems. These options are
synonyms.
The other way is to check the type of filesystem each file is on, and
not descend directories that are on undesirable filesystem types:
- Test: -fstype TYPE
True if the 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. Print File Information. `-fstype' is
usually used with `-prune' to avoid searching remote filesystems
( Directories.).
Info Catalog
(find.info.gz) Directories
(find.info.gz) Finding Files
(find.info.gz) Combining Primaries With Operators
automatically generated byinfo2html