Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fstyp(8) [osx man page]

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

fstyp -- identify a file system SYNOPSIS
fstyp device DESCRIPTION
The fstyp utility attempts to determine what sort of volume is present on the given device. It operates by iterating over directories that are typically part of the path, searching for files matching the pattern fstyp_* and running them. If it finds a match, it will print out the file system type name and exit with a return value of 1. If it does not find a match, it will not print out anything, and the return value will be 0. BSD
August 15, 2005 BSD

Check Out this Related Man Page

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

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 <> under sponsorship from the FreeBSD Foundation. BSD
January 14, 2015 BSD
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Fstype list

Does anyone have a list of all the fstypes? I don't know what fstype to use when mounting the cdrom... Cheers;) (5 Replies)
Discussion started by: satan404
5 Replies

2. Solaris

Unknown fstype?

Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
Discussion started by: hadimotamedi
37 Replies

3. Shell Programming and Scripting

FIND w/ multiple expressions

For reference i am still a newb at scripting, but i have what i think is a complex issue. I need to run a FIND on / to identify all files and print them to >> $TEMPFILE I need to avoid MVFS I need to avoid /var/tmp/nastmp/ I was trying find / \( -type d -name nastmp -prune \) -a \( -fstype... (4 Replies)
Discussion started by: nitrobass24
4 Replies