Difference between revisions of "Mount ReadWrite"
Line 5: | Line 5: | ||
The hidden <tt>/etc/rc</tt> boot script checks for the existence of the file, and if found, the drive is mounted read/write automatically. | The hidden <tt>/etc/rc</tt> boot script checks for the existence of the file, and if found, the drive is mounted read/write automatically. | ||
+ | |||
+ | ==Alternative One Liners== | ||
+ | ReadWrite On: | ||
+ | mount -o remount,rw /dev/disk0s3 / | ||
+ | |||
+ | ReadWrite Off: | ||
+ | mount -o remount,ro /dev/disk0s3 / | ||
+ | |||
+ | I prefer to leave it mounted read only when im not writing |
Revision as of 18:36, 26 March 2007
To have the boot drive automatically mounted as read/write, create a file at the root of the drive named .readwrite; you can create it with this command:
touch .readwrite
The hidden /etc/rc boot script checks for the existence of the file, and if found, the drive is mounted read/write automatically.
Alternative One Liners
ReadWrite On:
mount -o remount,rw /dev/disk0s3 /
ReadWrite Off:
mount -o remount,ro /dev/disk0s3 /
I prefer to leave it mounted read only when im not writing