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)NAMEfstyp -- determine filesystem typeSYNOPSISfstyp [-l] [-s] specialDESCRIPTIONThe 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 STATUSThe fstyp utility exits 0 on success, and >0 if an error occurs or the filesystem type is not recognized.SEE ALSOfile(1), capsicum(4), glabel(8), mount(8)HISTORYThe fstyp command appeared in FreeBSD 11.0.AUTHORSThe fstyp utility was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation.BSDJanuary 14, 2015 BSD
Related Man Pages |
---|
fstyp(1m) - sunos |
fstyp(8) - freebsd |
fstyp(1m) - debian |
fstyp(1m) - x11r4 |
fstyp(1m) - posix |