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-osr5) 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-osr5), sysfs(S-osr5)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005