I've followed instructions to set the noatime flag in Lion so I can reduce SSD usage but it isn't working for me on Mountain Lion.
I'm still seeing this after restarting:
$ mount | grep " / "
/dev/disk0s2 on / (hfs, local, journaled)
Has anyone got any suggestions how to mount the startup drive with mount flag noatime?
Best Answer
Ok, I think I've got it working.
Add the file
/Library/LaunchDaemons/com.nullvision.noatime.plist
with contents:Run these:
sudo chown root:wheel /Library/LaunchDaemons/com.nullvision.noatime.plist
sudo chmod 644 /Library/LaunchDaemons/com.nullvision.noatime.plist
sudo launchctl load -w /Library/LaunchDaemons/com.nullvision.noatime.plist
The permissions have to be set to that for
launchctl
not to complain.Then you've got this on restart:
You can check if it runs by looking in the console: