Skip to content

Instantly share code, notes, and snippets.

@edwardsmatt
Created October 20, 2012 06:17
Show Gist options
  • Save edwardsmatt/3922278 to your computer and use it in GitHub Desktop.
Save edwardsmatt/3922278 to your computer and use it in GitHub Desktop.
noatime plist for macosx with SSD
<!-- Place in /Library/LaunchDaemons/com.github.edwardsmatt.noatime.plist -->
<!-- execute: sudo chown root:wheel /Library/LaunchDaemons/com.github.edwardsmatt.noatime.plist -->
<!-- Restart -->
<!-- Verify: mount | grep " / " -->
<!-- you should see noatime in the parentheses -->
<?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.github.edwardsmatt.noatime</string>
<key>ProgramArguments</key>
<array>
<string>mount</string>
<string>-vuwo</string>
<string>noatime</string>
<string>/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@beefon
Copy link

beefon commented Mar 29, 2021

For Big Sur

<?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.github.edwardsmatt.noatime</string>
        <key>ProgramArguments</key>
        <array>
            <string>mount</string>
            <string>-vuwo</string>
            <string>noatime</string>
            <string>/System/Volumes/Data</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
    </dict>
</plist>

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