shithub: riscv

ref: b6b5fd6da79aff13f7ebded1ae49124743411271
dir: /sys/man/1/fstype/

View raw version
.TH FSTYPE 1
.SH NAME
fstype \- determine file system type
.SH SYNOPSIS
.B fstype
.I file
.SH DESCRIPTION
The
.I file
being a partition or file system image,
.I fstype
determines the type of a disk file system and prints it.
If the type cannot be determined, then the error status
is set.
.PP
Known file systems are:
.TP 12
.B 9660
ISO9660 CD-ROM (see
.IR dossrv (4))
.TP
.B dos
FAT12/FAT16/FAT32 DOS (see
.IR dossrv (4))
.TP
.B paqfs
compressed
.IR paqfs (4)
.TP
.B kfs
old Plan 9 disk file system
.TP
.B fs
32-bit and
.TP
.B fs64
64-bit dump file system (see
.IR fs (4))
.TP
.B cwfs
32-bit,
.TP
.B cwfs64
64-bit and
.TP
.B cwfs64x
long file name cache worm file system (see
.IR cwfs (4))
.TP
.B hjfs
hj file system (see
.IR hjfs (4))
.SH SOURCE
.B /rc/bin/fstype