Hacker News new | ask | show | jobs
by zazaulola 584 days ago
`pdisk` might be more convenient if you've worked with `gdisk` on ArchLinux

https://manpagez.com/man/8/pdisk/

2 comments

If you have a modern Mac you have very little business using `pdisk`. It is only for editing disks mapped with an “Apple Partion Map”. This is obsolete replaced in practice by GPT on modern apple machines.
`gdisk` supports GPT, but to partition system SSD you need to deactivate System Integrity Protection:

    gdisk /dev/disk0
diskutil does more than edit partitions, though.