📄 readme
字号:
$Id: README,v 1.1.1.1 2003/10/05 18:21:33 reflex-2000 Exp $ -*- text -*- disktype 6============The purpose of disktype is to detect the content format of a disk ordisk image. It knows about common file systems, partition tables, andboot codes.The program is written in C and is designed to compile on any modernUnix flavour. It is self-contained and in general works withoutspecial libraries or headers. Some system-dependent features can beused to gather additional information. Installation--------------GNU make is required to build disktype. The Makefile is set up to useGCC, but disktype should compile with any C compiler. To change thecompiler, you can edit the Makefile or set the standard variables CC,CPPFLAGS, CFLAGS, LDFLAGS, and LIBS from the make command line.The Makefile uses uname to determine the system type and enablescertain system-dependent features based on that. If you run intoproblems, you can disable all system-dependent features by setting thevariable NOSYS, as in 'make NOSYS=1'.Running make results in the binary 'disktype'. Copy it to a 'bin'directory of your choice, optionally stripping it on the way. That'sall. Usage-------The 'disktype' program can be run with any number of regular files ordevice special files as arguments. They will be analyzed in the ordergiven, and the results printed to standard output. There are noswitches in this version. Note that running disktype on device fileslike your hard disk will likely require root rights.See the online documentation at <http://disktype.sourceforge.net/doc/>for some example command lines. Recognized Formats--------------------The following formats are recognized by this version of disktype.File systems: FAT12/FAT16/FAT32, NTFS, HPFS, MFS, HFS, HFS Plus, ISO9660, ext2/ext3, Minix, ReiserFS, Linux romfs, Linux cramfs, Linux squashfs, UFS (some variations), SysV FS (some variations), JFS, XFS, Amiga FS/FFS, BeOS BFS, QNX4 FS, UDF.Partitioning: DOS/PC style, Apple, Amiga "Rigid Disk", ATARI ST (AHDI3), BSD disklabel, Linux RAID physical disks, Linux LVM physical volumes, Solaris x86 disklabel (vtoc), Solaris SPARC disklabel.Other structures: Debian split floppy header, Linux swap.Disk images: Raw CD image (.bin), Virtual PC hard disk image, Apple UDIF disk image (limited).Boot codes: LILO, GRUB, SYSLINUX, ISOLINUX, Linux kernel, FreeBSD loader.Compression formats: gzip, compress, bzip2.Archive formats: tar, cpio, bar, dump/restore.Compressed files (gzip, compress, bzip2 formats) will also have theircontents analyzed using transparent decompression. The appropriatecompression program must be installed on the system, i.e. 'gzip' forthe gzip and compress formats, 'bzip2' for the bzip2 format.Disk images in general will also have their contents analyzed usingthe proper mapping, with the exception of the Apple UDIF format.See the online documentation at <http://disktype.sourceforge.net/doc/>for more details on the supported formats and their quirks. Future Plans--------------To fulfill its purpose, disktype needs to know about as much formatsas possible. If you know a file system not yet included and canprovide me with (pointers to) format information, please contact me at<chrisp@users.sourceforge.net>. I'm also looking for information ondisk image formats (e.g. used by backup apps or CD masteringsoftware).EOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -