I've managed to enable the noatime command for one of my drives, the Macintosh HD drive "/", but not for my data drive "/Volumes/Data". Is there anyway I could enable it for the second drive as well?
I used this command to enable noatime for the first drive:
I have no idea how the code works, but I tried adding in "/Volumes/Data" string, but it didn't seem to do the trick.
Now, I see this:
I used this command to enable noatime for the first drive:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.my.noatime</string>
<key>ProgramArguments</key>
<array>
<string>mount</string>
<string>-vuwo</string>
<string>noatime</string>
<string>/</string>
<string>/Volumes/Data</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
I have no idea how the code works, but I tried adding in "/Volumes/Data" string, but it didn't seem to do the trick.
Now, I see this:
/dev/disk0s2 on / (hfs, local, journaled, noatime)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s4 on /Volumes/Data (hfs, local, journaled)