fstyp(1M) fstyp(1M)
NAME
fstyp - determine file system type
SYNOPSIS
fstyp [-v] special
DESCRIPTION
fstyp allows the user to determine the file system type of unmounted
file systems using heuristic programs.
An fstyp module for each file system type to be checked is executed;
each of these modules applies some appropriate heuristic to determine
whether the supplied special file is of the type for which it checks.
If it is, the program prints on standard output the usual file-system
identifier for that type and exits with a return code of 0; if none of
the modules succeed, the error message unknownfstyp (no matches) is
returned and the exit status is 1. If more than one module succeeds
the error message unknownfstyp (multiple matches) is returned and the
exit status is 2.
OPTIONS
-v Produces verbose output. This is usually information about the
file systems superblock and varies across different FSTypes.
LOCALE
The LCMESSAGES environment variable governs the language in which
message texts are displayed.
If LCMESSAGES is undefined or is defined as the null string, it
defaults to the value of LANG. If LANG is likewise undefined or null,
the system acts as if it were not internationalized.
If any of the locale variables has an invalid value, the system acts
as if none of the variables was set.
The LCALL environment variable governs the entire locale. LCALL
takes precedence over all the other environment variables which affect
internationalization.
NOTES
The use of heuristics implies that the result of fstyp is not
guaranteed to be accurate.
Page 1 Reliant UNIX 5.44 Printed 11/98