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 out-
     puts 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 re-
     turns a non-zero value.

     fstyp is often used in backup scripts to pick dump and restore commands ap-
     propriate 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) com-
     mand.

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)

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

home | help