Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fdisk(8) [minix man page]

FDISK(8)						      System Manager's Manual							  FDISK(8)

fdisk - partition a hard disk [IBM] SYNOPSIS
fdisk [-hm] [-sn] [file] OPTIONS
-h Number of disk heads is m -s Number of sectors per track is n EXAMPLES
fdisk /dev/hd0 # Examine disk partitions fdisk -h9 /dev/hd0 # Examine disk with 9 heads DESCRIPTION
When fdisk starts up, it reads in the partition table and displays it. It then presents a menu to allow the user to modify partitions, store the partition table on a file, or load it from a file. Partitions can be marked as MINIX, DOS or other, as well as active or not. Using fdisk is self-explanatory. However, be aware that repartitioning a disk will cause information on it to be lost. Rebooting the sys- tem immediately is mandatory after changing partition sizes and parameters. MINIX, XENIX, PC-IX, and MS-DOS all have different partition numbering schemes. Thus when using multiple systems on the same disk, be careful. Note that MINIX, unlike MS-DOS , cannot access the last sector in a partition with an odd number of sectors. The reason that odd partition sizes do not cause a problem with MS-DOS is that MS-DOS allocates disk space in units of 512-byte sectors, whereas MINIX uses 1K blocks. Fdisk has a variety of other features that can be seen by typing h. Fdisk normally knows the geometry of the device by asking the driver. You can use the -h and -s options to override the numbers found. SEE ALSO
part(8). FDISK(8)

Check Out this Related Man Page

FDISK(8)						    BSD System Manager's Manual 						  FDISK(8)

acorn-fdisk -- partition editor for Acorn/RISC OS machines SYNOPSIS
acorn-fdisk -h | --help | -v | --version acorn-fdisk [-t scheme | --type scheme] -l | --list [device ...] acorn-fdisk [-t scheme | --type scheme] -s | --size partition acorn-fdisk [-t scheme | --type scheme] [device] DESCRIPTION
The acorn-fdisk utility allows one to display or interactively edit partition tables for Acorn/RISC OS machines in various formats. Using the PC/BIOS format, standard IBM PC (i386) partition tables can also be accessed. When no optional device is given, it defaults to /dev/hda or /dev/sda. The options are as follows: -h | --help Display a short usage and exit immediately. -l | --list Display the partition table(s) of all devices. -s | --size Display the size of partition. -t | --type Select the partitioning scheme to use. Valid schemes are: EESOX Eesox SCSI on the Acorn machines. ICSIDEFS ICS IDE. Filecore/Linux Linux on Filecore. This uses the non-ADFS descriptor to point to the start of the disc to be partitioned. The first two sectors contain a partition table to identify the Linux partitions contained within. PC/BIOS PC/BIOS partitioning scheme. This consists of a partition table in the first sector of the disk which contains both CHS and LBA values for the partitions. There can be up to four entries in the primary partition table. One of these can be an extended partition containing up to four extra partitions. PowerTec PowerTec SCSI on the Acorn machines. Filecore/RISCiX RiscIX on Filecore. -v | --version Display the version of acorn-fdisk and exit immediately. If neither -l | --list or -s | --size are given, the partition table of the given device will be edited interactively. EXAMPLES
Display the default device's partition table on a PC: acorn-fdisk --type PC/BIOS -l Display the PC partition table of /dev/sda: acorn-fdisk --type PC/BIOS --list /dev/sda Display the size in blocks of the partition /dev/sda1: acorn-fdisk --type PC/BIOS --size /dev/sda1 Edit the MBR partition table interactively: acorn-fdisk --type PC/BIOS Display the partition table of an MBR backed up to a file: acorn-fdisk -t PC/BIOS -l mbrdump.bin Display the size of the first partition on a device where the MBR would be restored from the backup file mbrdump.bin: acorn-fdisk -t PC/BIOS -s mbrdump.bin1 AUTHORS
arm-fdisk was written by Russell King <> based on util-linux fdisk, which was written at least partially by A. V. Le Blanc <>. This manual page was written for the Debian system by Thorsten Glaser <> but may be used by others. BSD
October 2, 2010 BSD

Featured Tech Videos