Forrest logo
back to the mkpart tool

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

This command is using the "mkpart" command to create a new partition on a storage device or disk.

Here is the breakdown of each part of the command:

  • "mkpart": This is the command that indicates the intention to create a partition.

  • "${select}": This is a placeholder for a variable or the name of the disk or storage device where the partition will be created. It will be replaced with the actual value during command execution.

  • "${select1}": Similar to the previous placeholder, this represents another variable or the partition name that will be created. It will also be substituted during command execution.

  • "${0%}": This is another placeholder that likely represents the starting point or offset of the partition. The exact value for this placeholder is not provided, so it will be replaced with a specific value during command execution.

  • "${16G}": This placeholder likely represents the size of the partition being defined. In this case, it is set to 16 gigabytes (16G). Just like the previous placeholders, it will be replaced with the actual value when the command is executed.

Overall, this command is used to create a partition on a storage device or disk with specific parameters like device name, partition name, starting offset, and size.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkpart tool