systems administrator and software programmer
🇵🇸 free palestine 🇵🇸
Data is stored on disks that are logically divided into partitions.
parted (partition editor) can be used to partition disks interactively or directly from the command prompt.
It understands and supports both MBR and GUID partition schemes.
| Displays the partition table that includes disk geometry and partition number, start and end, size, type, file system type, and relevant flags. | ||
| mklabel | Applies a label to the disk. Common labels are msdos and gpt. | |
| mkpart | Makes a new partition. | |
| name | Assigns a name to a partition. | |
| rm | Removes the specified partition. |
The gdisk (GPT disk) utility is a text-based, menu-driven program that partitions disks using the GPT format. The main interface of gdisk can be invoked by specifying a disk device name with the command (such as /dev/sdc).