Thursday, July 21, 2011

Remount a hfs partition read-write on a mac

To remount a partition read-write on linux you would use:
mount -o remount,rw /dev/disk /mnt/point
On a mac the equivalent is:
mount -u -w /dev/disk /mnt/point
In single user mode to get a writable root:
mount -uw /


GG said...

Thanks :) did not get the -u in mac

Paul S. said...

fsck_hfs -fyr /dev/diskXsY

G said... Suggest you read the mount and fsck_hfs man pages.