←back to thread

700 points yen223 | 1 comments | | HN request time: 0.207s | source
Show context
zitterbewegung ◴[] No.42061843[source]
The terminal version of Disk Utility is actually much better than the GUI (it doesn't hang and the app is glitchy.

Docs are at https://ss64.com/mac/diskutil.html

replies(3): >>42063091 #>>42063294 #>>42069049 #
zazaulola ◴[] No.42063091[source]
`pdisk` might be more convenient if you've worked with `gdisk` on ArchLinux

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

replies(2): >>42063313 #>>42064752 #
Tsiklon ◴[] No.42064752[source]
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.
replies(1): >>42065177 #
1. zazaulola ◴[] No.42065177[source]
`gdisk` supports GPT, but to partition system SSD you need to deactivate System Integrity Protection:

    gdisk /dev/disk0