Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FSTYP(8)		FreeBSD	System Manager's Manual		      FSTYP(8)

NAME
       fstyp - identify	file systems

SYNOPSIS
       fstyp device

       fstyp [-hV]

DESCRIPTION
       The  fstyp  command  tries to guess the filesystem type of a device and
       outputs its findings.

       If a filesystem can be successfully identified, its name	is printed and
       0 returned.

       If  no known superblocks	can be found, fstyp prints an empty string and
       returns a non-zero value.

       fstyp is	often used in backup scripts to	pick dump and restore commands
       appropriate for the filesystem type.

       Since  fstyp  relies on heuristics to identify the filesystem, there is
       no guarantee for	correct	results.

       The detection algorithm used in fstyp is	the same as  in	 the  mount(8)
       command.

OPTIONS
       -V     Print version and	exit.

       -h     Print help message and exit.

SEE ALSO
       umount(2), mount(8), dump(8), restore(8)

FreeBSD	8.0		       09 November 2008			      FSTYP(8)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=fstyp&sektion=8&manpath=FreeBSD+10.1-RELEASE+and+Ports>

home | help