Thursday, July 08, 2004

Dumping a partition table on MacOS X

How do you dump the partition table on OS X?
Coming from Linux I would have thought you would use fdisk, however, I found that fdisk is not the tool you should reach for. Instead pdisk is the command and its argument list is a little "backward". It takes the device first then the option.

pdisk /dev/disk0 -dump

More info pdisk(8)
or by man pdisk on OS X.

0 Comments:

Post a Comment

<< Home