Forrest logo
tool overview
On this page you find all important commands for the CLI tool mkpart. If the command you are looking for is missing please ask our AI.


The "mkpart" command line tool is a utility used for creating disk partition tables. It is commonly available in various Unix-like operating systems, such as Linux. The tool enables users to divide disk space into separate partitions to organize and allocate storage efficiently.

To use the "mkpart" command, users must specify the disk device name, the partition table type, the start and end points of the partition, and optionally, the file system type. The tool ensures that the partition created does not overlap with any existing partitions.

It is often used in conjunction with other command line tools, such as "fdisk" or "gparted," to manage disk partitions effectively. The "mkpart" command is highly versatile and can be used for various purposes, such as creating primary partitions, extended partitions, or logical partitions within an extended partition.

It is essential to use caution while using the "mkpart" command, as modifying disk partitions can result in data loss if not done correctly. It is recommended to have a backup of important data before making any changes to disk partitions.

Overall, the "mkpart" command line tool is a powerful utility for creating and managing disk partitions in Unix-like operating systems.

List of commands for mkpart:

  • parted:tldr:390a0 parted: Create a 16 GB partition with the specified filesystem in interactive mode.
    $ mkpart ${select} ${select1} ${0%} ${16G}
    try on your machine
    explain this command
tool overview