FDISK(8) FDISK(8) fdisk - fdisk [] fdisk -l [...] fdisk . GPT MBR Sun SGI BSD. . 0 . ( BSD ` ' ` '.) / () . fdisk 4K MBR GPT. fdisk ( ) +/-<>{M,G,...} . CHS (--) . fdisk -S -H SSD 4K. partx(8) fdisk . fdisk . () . -b --sector-size _ . 512 1024 2048 4096. . . 2.17 util-linux fdisk . _ . -B --protect-boot . GPT MBR. -c --compatibility[=] : 'dos' 'nondos'. non-DOS. -- . -c -c=dos . -L --color[=] . auto never always. auto . --help. . -l --list . /proc/partitions ( ). /proc/partitions. -x --list-details --list . --lock[=] BSD . yes (1) no (0) nonblock. yes. $LOCK_BLOCK_DEVICE. systemd-udevd(8) . -n --noauto-pt . ( 'o' 'g' ). -o --output . --help . + ( -o +UUID). --bytes* . -s --getsz 512 . blockdev(8). -t --type . -u --units[=] '' ''. . . -u -u=cylinders . -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 ( ATA) 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". ( +100MiB) / . +/-<>{K,B,M,G,...}. <> + <> ( -1) +<>. / . fdisk KB (1000 ) MB (1000*1000 ) GB TB PB EB ZB YB. 10^N . fdisk (scripts) sfdisk(8) ( 'I'). . 'O'. cfdisk(8) sfdisk(8) fdisk libfdisk . sfdisk(8). GPT (GUID Partition Table) GPT . GPT 64- (checksums) (UUIDs) ( 128 ). MBR (protective MBR) GPT. MBR GPT . GPT MBR UEFI. DOS-type (MBR) DOS . 0 4 ( ''). . 1-4 . 5. DOS : ( 32 ) // ( 10+8+6 ). -- 512 2 . . C/H/S . 24 . DOS C/H/S Windows C/H/S . C/H/S fdisk . DOS DOS. fdisk . BSD/Sun-type BSD/Sun 8 ' '. ( ) 0 . BSD DOS. IRIX/SGI-type IRIX/SGI 16 '' ' '. . . . . IRIX/SGI IRIX/SGI . sync(2) ioctl(BLKRRPART) ( ) . DOS DOS 6.X . . DOS DOS fdisk '-c=dos -u=cylinders'. FORMAT DOS 6.x . DOS FORMAT DOS FDISK 512 . DOS FORMAT /U -- DOS FORMAT DOS FDISK. fdisk cfdisk(8) DOS dd(1) 512 DOS FORMAT . fdisk DOS /dev/sda1 ( fdisk ) dd if=/dev/zero of=/dev/sda1 bs=512 count=1 512 . fdisk . ( // ) MS-DOS . . fdisk . () . DOS . ( ). MS-DOS 2 . 1 OS/2 . . DOS DOS FDISK fdisk cfdisk(8). terminal-colors.d(5). /etc/terminal-colors.d/fdisk.disable fdisk /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 . util-linux 2.42.1 2026-05-18 FDISK(8)