💾 Archived View for freeshell.de › tldr › parted.gmi captured on 2024-05-10 at 12:20:39. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
A partition manipulation program.
See also: `partprobe`.
sudo parted --list
sudo parted {/dev/sdX}
sudo parted --script {/dev/sdX} mklabel {aix|amiga|bsd|dvh|gpt|loop|mac|msdos|pc98|sun}
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).