💾 Archived View for freeshell.de › tldr › parted.gmi captured on 2022-06-11 at 22:20:31. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

parted

A partition manipulation program.
See also: `partprobe`.

More information.

sudo parted --list
sudo parted {/dev/sdX}
sudo parted --script {/dev/sdX} mklabel {aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}
print
select {/dev/sdX}
mkpart {primary|logical|extended} {btrfs|ext2|ext3|ext4|fat16|fat32|hfs|hfs+|linux-swap|ntfs|reiserfs|udf|xfs} {0%} {16G}
resizepart {/dev/sdXN} {end_position_of_partition}
rm {/dev/sdXN}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY