CmdID

CmdID / Commands

sfdisk

Display or manipulate a disk partition table. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Back up the partition layout to a file

sudo sfdisk --dump /dev/sdX >path/to/file.dumpIdentify

Restore a partition layout

sudo sfdisk <path/to/file.dump /dev/sdXIdentify

Set the type of a partition

sudo sfdisk --part-type /dev/sdX partition_number swapIdentify

Delete a partition

sudo sfdisk --delete /dev/sdX partition_numberIdentify

Display help

sfdisk --helpIdentify