1DISKTYPE(1)               BSD General Commands Manual              DISKTYPE(1)
2

NAME

4     disktype — disk format detector
5

SYNOPSIS

7     disktype file...
8

DESCRIPTION

10     The purpose of disktype is to detect the content format of a disk or disk
11     image. It knows about common file systems, partition tables, and boot
12     codes.
13

USAGE

15     disktype can be run with any number of regular files or device special
16     files as arguments. They will be analyzed in the order given, and the
17     results printed to standard output. There are no switches in this ver‐
18     sion. Note that running disktype on device files like your hard disk will
19     likely require root rights.
20
21     See the online documentation at <http://disktype.sourceforge.net/doc/>
22     for some example command lines.
23

RECOGNIZED FORMATS

25     The following formats are recognized by this version of disktype.
26
27     File systems:
28           FAT12/FAT16/FAT32, NTFS, HPFS, MFS, HFS, HFS Plus, ISO9660,
29           ext2/ext3, Minix, ReiserFS, Reiser4, Linux romfs, Linux cramfs,
30           Linux squashfs, UFS (some variations), SysV FS (some variations),
31           JFS, XFS, Amiga FS/FFS, BeOS BFS, QNX4 FS, UDF, 3DO CD-ROM file
32           system, Veritas VxFS, Xbox DVD file system.
33
34     Partitioning:
35           DOS/PC style, Apple, Amiga "Rigid Disk", ATARI ST (AHDI3), BSD
36           disklabel, Linux RAID physical disks, Linux LVM1 physical volumes,
37           Linux LVM2 physical volumes, Solaris x86 disklabel (vtoc), Solaris
38           SPARC disklabel.
39
40     Other structures:
41           Debian split floppy header, Linux swap, Expert Witness Compression
42           Format (EWF).
43
44     Disk images:
45           Raw CD image (.bin), Virtual PC hard disk image, Apple UDIF disk
46           image (limited).
47
48     Boot codes:
49           LILO, GRUB, SYSLINUX, ISOLINUX, Linux kernel, FreeBSD loader, Sega
50           Dreamcast (?).
51
52     Compression formats:
53           gzip, compress, bzip2.
54
55     Archive formats:
56           tar, cpio, bar, dump/restore.
57
58     Compressed files (gzip, compress, bzip2 formats) will also have their
59     contents analyzed using transparent decompression. The appropriate com‐
60     pression program must be installed on the system, i.e.  gzip(1) for the
61     gzip and compress formats, bzip2(1) for the bzip2 format.
62
63     Disk images in general will also have their contents analyzed using the
64     proper mapping, with the exception of the Apple UDIF format.
65
66     See the online documentation at <http://disktype.sourceforge.net/doc/>
67     for more details on the supported formats and their quirks.
68

HOMEPAGE

70     http://disktype.sourceforge.net/
71

AUTHOR

73     Christoph Pfisterer <chrisp@users.sourceforge.net>
74

SEE ALSO

76     file(1), gpart(8)
77
78                                 Feb 21, 2005
Impressum