Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dmitryd/16902ad3a5defd42d012 to your computer and use it in GitHub Desktop.

Select an option

Save dmitryd/16902ad3a5defd42d012 to your computer and use it in GitHub Desktop.
"noatime" for OS X on SSD. Place this file to /Library/LaunchDaemons/com.noatime.root.plist and do `sudo launchctl load -w /Library/LaunchDaemons/com.noatime.root.plist`
<?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.noatime.root</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/mount</string>
<string>-vuwo</string>
<string>noatime</string>
<string>/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>

ghost commented Mar 5, 2020

Copy link
Copy Markdown

I am getting the following error when trying to execute the command: /Library/LaunchDaemons/com.noatime.root.plist: Path had bad ownership/permissions

Can you please help? Thank you!

@dmitryd

dmitryd commented Mar 14, 2020

Copy link
Copy Markdown
Author

@Artoria2e5 why would you need to loop there? One command is enough.

@nadsim Google still works and the answer is at the first result there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment