Linux

parted

DestructiveGPT-aware partitioning

parted <device> print

Handles GPT and >2TB disks. 'print' is safe; mkpart/resizepart apply immediately — be careful.

Examples

  • parted /dev/sdb printShow partition layout

Syntax

parted <device> [print|mkpart|resizepart]

Before you run it

Edit commands apply instantly.

Related commands

Check it once more before you run it

Some commands cannot be undone if one flag is wrong. An on-device reference works with no connection. Free to install, no ads.

Get it free on the App Store