DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

fstyp(ADM)


fstyp -- determine filesystem type

Syntax

/etc/fstyp device

Description

The fstyp command allows the super user to determine the filesystem type of mounted or unmounted filesystems using heuristic programs. The filesystem type is required by mount(S) and sometimes by mount(ADM) to mount filesystems of different types.

fstyp runs the fstyp programs in each of the directories /etc/fscmd.d/TYPE in alphabetical order, passing the name of the special device file (device) associated with the filesystem as an argument; if any program succeeds, its filesystem type identifier is printed and fstyp exits immediately. If no program succeeds, fstyp prints:

   Unknown_fstyp
to indicate failure.

Examples

To find the filesystem type for the root filesystem:

/etc/fstyp /dev/root

To find the filesystem type for another filesystem; here /dev/u (usually mounted on /u):

/etc/fstyp /dev/u

See also

mount(ADM), mount(S), sysfs(S)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003