FDISK(8) fdisk - fdisk [] fdisk -l [...] fdisk . GPT, MBR, Sun, SGI BSD . . , 0 . ( ,, " ,, ".) / () . fdisk 4K- MBR GPT. fdisk- (., ) ,,+/-<>{M,G,...}" . CHS (--) . fdisk -S -H o SSD 4K-. partx(8) , fdisk . fdisk- . () . -b, --sector-size - . 512, 1024, 2048, 4096. K . , . ,,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", ,,g", .). -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 , - , . auto, never () always (). , auto, . . wipefs(8). -W, --wipe-partitions , - , . auto, never () always (). , auto, . . wipefs(8). -h, --help . -V, --version . /dev/sda, /dev/sdb . . ,,libata" ( ) IDE SCSI . /dev/hd* (IDE) /dev/sd* (SCSI). . , /dev/sda1 . ( ,,Documentation/admin-guide/devices.txt"). ,, " +/-<>{K,B,M,G,...}. ,,+" . ,,-" ( ). KiB (1024 ), MiB (1024*1024 ) GiB, TiB, PiB, EiB, ZiB YiB. ,,iB" , ., ,,K" ,,KiB". (. +100MB) / . ,,+/-<>{K,B,M,G,...}" . <> + <> ( -1) +<>. , / . fdisk KB (1000 ), MB (1000*1000 ) GB, TB, PB, EB, ZB YB. 10^N . fdisk ( ,,I") sfdisk(8) . , . ,,". cfdisk(8), sfdisk(8) fdisk ,,libfdisk" . sfdisk(8). GPT ( ) . 64- , , - ( 128 ). . - . -, . - () - . 0 4 ( ,,"). ; , , . , , 1 4. 5. - : ( 32 ), // ( 10+8+6 ). - 512- 2 TB. . , // . , , 24 . //, , //. // fdisk-. - - . fdisk . BSD/Sun- ,,BSD/Sun" 8 , ,, ". ( ) 0, . . IRIX/SGI- ,,IRIX/SGI" 16 , ,,", ,, ". , ., . . . , . ,,IRIX/SGI" ,,IRIX/SGI" . sync(2) ,,ioctl(BLKRRPART)" ( ) . 6.X . . - ,,-c=dos -u=" ,,fdisk"-. 6.x , . ,,DOS FDISK" 512 . ,,/U" - - ,,DOS FDISK"-. fdisk cfdisk(8) , dd(1) 512 - . , fdisk /dev/sda1, ( fdisk- ) dd if=/dev/zero of=/dev/sda1 bs=512 count=1 512 . fdisk . (, , ,,//", - . , . , , fdisk . , () . , . , ( ). -- , 2 . 1 , OS/2 . , . , ,,DOS FDISK" fdisk cfdisk(8). ,,terminal-colors.d(5)" . /etc/terminal-colors.d/fdisk.disable fdisk /etc/terminal-colors.d/disable 2.41, $_ . $XDG_CONFIG_HOME/terminal-colors.d $HOME/.config/terminal-colors.d . , terminal-colors.d . fdisk : . - . . . FDISK_DEBUG=all ,,fdisk" . LIBFDISK_DEBUG=all ,,libfdisk" . LIBBLKID_DEBUG=all ,,libblkid" . LIBSMARTCOLS_DEBUG=all ,,libsmartcols" . LIBSMARTCOLS_DEBUG_PADDING=on . LOCK_BLOCK_DEVICE=<> . 1 0. --lock . Karel Zak , Davidlohr Bueso . , . . . cfdisk(8), mkfs(8), partx(8), sfdisk(8) , ,,https://github.com/util-linux/util-linux/issues[issue tracker]". fdisk ,,util-linux" . util-linux 2.42.3 2026-09-02 FDISK(8)