parted
A partition manipulation program. See also:
partprobe. More information: https://www.gnu.org/software/parted/parted.html.
- Start interactive mode with the specified disk selected:
sudo parted
- [Interactive] Show partition information in interactive mode:
print
- [Interactive] Select a disk in interactive mode:
select
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (
GPTpartition table):
mkpart
- [Interactive] Create a 16 GB partition with the specified filesystem in interactive mode (
MBRpartition table):
mkpart
- [Interactive] Resize a partition in interactive mode:
resizepart
- [Interactive] Remove a partition in interactive mode:
rm
- [Interactive] Display help:
?
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
