freebsd man page for fstyp

Query: fstyp

OS: freebsd

Section: 8

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

FSTYP(8)						    BSD System Manager's Manual 						  FSTYP(8)

NAME
fstyp -- determine filesystem type
SYNOPSIS
fstyp [-l] [-s] special
DESCRIPTION
The fstyp utility is used to determine the filesystem type on a given device. It can recognize ISO-9660, Ext2, FAT, NTFS, and UFS filesys- tems. The filesystem name is printed to the standard output as, respectively, cd9660, ext2fs, msdosfs, ntfs, or ufs. Because fstyp is built specifically to detect filesystem types, it differs from file(1) in several ways. The output is machine-parsable, filesystem labels are supported, the utility runs sandboxed using capsicum(4), and does not try to recognize any file format other than filesystems. These options are available: -l In addition to filesystem type, print filesystem label if available. -s Ignore file type. By default, fstyp only works on regular files and disk-like device nodes. Trying to read other file types might have unexpected consequences or hang indefinitely.
EXIT STATUS
The fstyp utility exits 0 on success, and >0 if an error occurs or the filesystem type is not recognized.
SEE ALSO
file(1), capsicum(4), glabel(8), mount(8)
HISTORY
The fstyp command appeared in FreeBSD 11.0.
AUTHORS
The fstyp utility was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation.
BSD
January 14, 2015 BSD
Related Man Pages
fstyp(1m) - sunos
fstyp(8) - freebsd
fstyp(1m) - debian
fstyp(1m) - x11r4
fstyp(1m) - posix
Similar Topics in the Unix Linux Community
lsof
Dumping a FreeBSD Archive on a partiotion on Hard Disk
FreeBSD filesystem is full error by Noob
How to setup Email notification when storage reach certain % ?
Howto Convert a filesystem from Veritas to ZFS?