Debian Codegraph @

disktype.1

raw ◀ ▶
Source reconstructed at patch state 0 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 .\" -*- nroff -*-
2 .Dd Feb 21, 2005
3 .Dt DISKTYPE 1
4 .\"
5 .Sh NAME
6 .Nm disktype
7 .Nd disk format detector
8 .\"
9 .Sh SYNOPSIS
10 .Nm
11 .\" .Op Ar options
12 .Ar file...
13 .\"
14 .Sh DESCRIPTION
15 The purpose of
16 .Nm
17 is to detect the content format of a disk or
18 disk image. It knows about common file systems, partition tables, and
19 boot codes.
20 .\"
21 .Sh USAGE
22 .Nm
23 can be run with any number of regular files or
24 device special files as arguments. They will be analyzed in the order
25 given, and the results printed to standard output. There are no
26 switches in this version. Note that running disktype on device files
27 like your hard disk will likely require root rights.
28 .Pp
29 See the online documentation at <http://disktype.sourceforge.net/doc/>
30 for some example command lines.
31 .\"
32 .Sh RECOGNIZED FORMATS
33 The following formats are recognized by this version of
34 .Nm Ns
35 .No .
36 .Bl -tag -width flag
37 .It File systems:
38 FAT12/FAT16/FAT32, NTFS, HPFS, MFS, HFS, HFS Plus,
39 ISO9660, ext2/ext3, Minix, ReiserFS, Reiser4, Linux romfs, Linux
40 cramfs, Linux squashfs, UFS (some variations), SysV FS (some
41 variations), JFS, XFS, Amiga FS/FFS, BeOS BFS, QNX4 FS, UDF, 3DO
42 CD-ROM file system, Veritas VxFS, Xbox DVD file system.
43 .It Partitioning:
44 DOS/PC style, Apple, Amiga "Rigid Disk", ATARI ST (AHDI3),
45 BSD disklabel, Linux RAID physical disks, Linux LVM1 physical volumes,
46 Linux LVM2 physical volumes, Solaris x86 disklabel (vtoc),
47 Solaris SPARC disklabel.
48 .It Other structures:
49 Debian split floppy header, Linux swap.
50 .It Disk images:
51 Raw CD image (.bin), Virtual PC hard disk image,
52 Apple UDIF disk image (limited).
53 .It Boot codes:
54 LILO, GRUB, SYSLINUX, ISOLINUX, Linux kernel, FreeBSD loader,
55 Sega Dreamcast (?).
56 .It Compression formats:
57 gzip, compress, bzip2.
58 .It Archive formats:
59 tar, cpio, bar, dump/restore.
60 .El
61 .Pp
62 Compressed files (gzip, compress, bzip2 formats) will also have their
63 contents analyzed using transparent decompression. The appropriate
64 compression program must be installed on the system, i.e.
65 .Xr gzip 1
66 for the gzip and compress formats,
67 .Xr bzip2 1
68 for the bzip2 format.
69 .Pp
70 Disk images in general will also have their contents analyzed using
71 the proper mapping, with the exception of the Apple UDIF format.
72 .Pp
73 See the online documentation at <http://disktype.sourceforge.net/doc/>
74 for more details on the supported formats and their quirks.
75 .\"
76 .Sh HOMEPAGE
77 http://disktype.sourceforge.net/
78 .\"
79 .Sh AUTHOR
80 Christoph Pfisterer <[email protected]>
81 .\"
82 .Sh "SEE ALSO"
83 .Xr file 1 ,
84 .Xr gpart 8