All apps/fdisk

fdisk

fdisk

Manipulate disk partition tables.

Runs as fdisk|Linux

Autocomplete

Fig spec, with what the manifest adds · 19 options
Published once and never changed; check the digest before caching
sha256
c78cc43a263abfd54ba8746969647e8f672bc7cb9e6d66eeb3abd84bc42818d7
Size
5133 bytes
OptionsOn fdisk itself
--help-h
Show help for fdisk
--version-V
Show version for lsblk
--sector-size-b
Specify the sector size of the disk <mode>
--protect-boot-B
Don't erase the beginning of the first disk sector when creating a new disk label
--compatibility-c
Specify the compatibility mode, 'dos' or 'nondos' <mode>
--color-L
Colorize the output <when>
--list-l
List the partition tables for the specified devices and then exit
--list-details-x
Like --list, but provides more details
--lock
Use exclusive BSD lock for device or file it operates <mode>
--noauto-pt-n
Don't automatically create a default partition table on empty device
--output-o
Desc <list>
--getsz-s
Print the size in 512-byte sectors of each given block device. This option is DEPRECATED in favour of blockdev(8)
--type-t
Enable support only for disklabels of the specified type, and disable support for all other types <type>
--units-u
When listing partition tables, show sizes in 'sectors' or in 'cylinders' <unit>
--cylinders-C
Specify the number of cylinders of the disk <number>
--heads-H
Specify the number of heads of the disk. (Not the physical number, of course, but the number used for partition tables.) <number>
--sectors-S
Specify the number of sectors per track of the disk. (Not the physical number, of course, but the number used for partition tables.)
--wipe-w
Wipe filesystem, RAID and partition-table signatures from the device, in order to avoid possible collisions <when>
--wipe-partitions-W
Wipe filesystem, RAID and partition-table signatures from a newly created partitions, in order to avoid possible collisions <when>
ArgumentsPositional, in order
<device>
Device to list · optional · filepaths