hpux man page for fstyp

Query: fstyp

OS: hpux

Section: 1m

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

fstyp(1M)																 fstyp(1M)

NAME
fstyp - determine file system type
SYNOPSIS
special
DESCRIPTION
The command allows the user to determine the file system type of a mounted or unmounted file system. special represents a device special file (for example: The file system type is determined by reading the superblock of the supplied special file. If the superblock is read successfully, the com- mand prints the file system type identifier on the standard output and exits with an exit status of If the type of the file system cannot be identified, the error message (no matches) is printed and the exit status is Exit status is not currently returned, but is reserved for the situation where the file system matches more than one file system type. Any other error will cause exit status to be returned. The file system type is determined by reading the superblock of the supplied special file. Options Produce verbose output. The output contains information about the file system's superblock.
RETURN VALUE
returns the following values: Successful completion. Unknown file system type. File system matches more than one type. Usage error or access problem. If the printed message is "Can't send after socket shutdown", check with your system administrator to make sure the is running properly on the system.
EXAMPLES
Find the type of the file system on a disk, Find the type of the file system on a logical volume, Find the file system type for a particular device file and also information about its super block:
SEE ALSO
stat(2), statvfsdev(3C). fstyp(1M)
Related Man Pages
fstyp(1m) - hpux
fstyp(1m) - linux
fstyp(1m) - v7
fstyp(1m) - plan9
fstyp(1m) - suse
Similar Topics in the Unix Linux Community
more than one fs type on the same file system
How to corrupt a superblock?
Find File system according to device
Exit Status Of Find Command