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 /

3 comments:

GG said...

Thanks :) did not get the -u in mac

Unknown said...

fsck_hfs -fyr /dev/diskXsY

G said...

Umm...no. Suggest you read the mount and fsck_hfs man pages.