FDISK(8) FDISK(8) fdisk - fdisk [] I<> fdisk -l [...] fdisk -- , . GPT, MBR, Sun, SGI BSD. , . , , , 0 . ( BSD << >> << >>.) , - (). fdisk 4 MBR GPT. fdisk (, ), , +/-{M,G,...}, . CHS (Cylinder-Head-Sector --) . , , fdisk -S -H SSD 4 . , partx(8) , fdisk, , . fdisk . () . -b, --sector-size - . 512, 1024, 2048 4096. . , . util-linux-2.17, fdisk . -. -B, --protect-boot . GPT MBR. -c, --compatibility[=] Specify the compatibility mode: 'dos' or 'nondos'. The default is non-DOS mode. For backward compatibility, it is possible to use the option without the mode argument -- then the default is used. Note that the optional mode argument cannot be separated from the -c option by a space; the correct form is -c=dos, for example. -L, --color[=] . auto, never always. , auto. . --help. . . -l, --list . , , /proc/partitions ( ) , /proc/partitions. -x, --list-details --list, . --lock[=] Use an exclusive BSD lock for the device or file that is operated upon. The optional argument mode can be yes (1), no (0), or nonblock. If the mode argument is omitted, it defaults to yes. This option overrides the environment variable $LOCK_BLOCK_DEVICE. The default is to not use any lock at all, but using a lock is recommended to avoid collisions with systemd-udevd(8) or other tools. -n, --noauto-pt . ( , <>, <> ). -o, --output , . --help, . , + (, -o +UUID) --bytes* Print SIZE in bytes rather than in human readable format. -s, --getsz 512- . . blockdev(8). -t, --type . -u, --units[=] When listing partition tables, show sizes in 'sectors' or in 'cylinders'. The default is to show sizes in sectors. For backward compatibility, it is possible to use the option without the unit argument -- then the default is used. Note that the optional unit argument cannot be separated from the -u option by a space; the correct form is -u=cylinders, for example. -C, --cylinders . , . -H, --heads . ( , , , .) 255 16. -S, --sectors . ( , , , .) 63. -w, --wipe , RAID , . auto, never always. , auto, , . . . wipefs(8). -W, --wipe-partitions , RAID , . auto, never always. , auto, , . . . wipefs(8). -h, --help . -V, --version . >, , _/dev/sda, /dev/sdb . . libata (, Linux ATA ) IDE SCSI. /dev/hd* (IDE) /dev/sd* (SCSI). , , /dev/sda1 . . Linux ( Documentation/admin-guide/devices.txt). << >> , +/-<>{K,B,M,G,...}. <<+>>, , . <<->>, , ( ). , , : KiB (=1024 ), MiB (=1024*1024 ) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', <> , <>). , ( +100MiB), - . +/-<>{K,B,M,G,...}. <> <> ( -1), +<>. - . fdisk KB (1000 ), MB (1000*1000 ), GB, TB, PB, EB, ZB YB. 10^N . fdisk ( <>) sfdisk . ', , . , ' <>. cfdisk(8), sfdisk(8), fdisk libfdisk. sfdisk(8). GPT (GUID Partition Table) GPT - . GPT 64- , , UUID ( , , 128 ). , GPT MBR. GPT , MBR. GPT MBR, UEFI. DOS- (MBR) DOS- 0 4 ( <<>>). . , ' , . , , 1-4. 5. DOS- : ( 32 ) // ( 10+8+6 ). - 512- 2 . . , // , . - , , 24 . DOS //, Windows - , Linux //. // , fdisk. , DOS, DOS . , fdisk . BSD/Sun- BSD/Sun 8 , << >>. , ( ' ) 0, . , BSD, , DOS. IRIX/SGI- IRIX/SGI 16 , <<>>, ' << >> , , , ' . . . , . , Linux IRIX/SGI IRIX/SGI Linux. , sync(2) ioctl(BLKRRPART) ( ). DOS DOS 6.X , . , . DOS, DOS - fdisk <<-c=dos -u=cylinders>>. FORMAT DOS 6.x . FORMAT DOS FDISK DOS 512 . FORMAT DOS , /U - FORMAT DOS FDISK DOS. , fdisk cfdisk(8) DOS, dd(1) 512 FORMAT DOS . , fdisk DOS /dev/sda1, , ( fdisk Linux, ) dd if=/dev/zero of=/dev/sda1 bs=512 count=1 512 . , fdisk . ' (, , , //), , MS-DOS . , , , Linux . , , fdisk . Linux , () . , DOS, . , , ( ). MS-DOS , , 2 . , 1, , , ' OS/2. . , DOS FDISK DOS, Linux fdisk Linux cfdisk(8) Linux. terminal-colors.d(5). /etc/terminal-colors.d/{}.disable {} /etc/terminal-colors.d/disable 2.41, $NO_COLOR , . $XDG_CONFIG_HOME/terminal-colors.d $HOME/.config/terminal-colors.d . , terminal-colors.d . , fdisk, : header . help-title . warn . welcome . FDISK_DEBUG=all fdisk. LIBFDISK_DEBUG=all libfdisk. LIBBLKID_DEBUG=all libblkid. LIBSMARTCOLS_DEBUG=all libsmartcols. LIBSMARTCOLS_DEBUG_PADDING=on . LOCK_BLOCK_DEVICE=<> BSD. <<1>> <<0>>. . --lock, . Karel Zak , Davidlohr Bueso Andries E. Brouwer, A. V. Le Blanc . cfdisk(8), mkfs(8), partx(8), sfdisk(8) fdisk util-linux, Linux . util-linux 2.42.1 2026-05-18 FDISK(8)