Skip to content

Instantly share code, notes, and snippets.

@luishdez
Created November 21, 2011 19:18
Show Gist options
  • Save luishdez/1383609 to your computer and use it in GitHub Desktop.
Save luishdez/1383609 to your computer and use it in GitHub Desktop.
Prevent auto mount volumes on OS X Lion
# Get the list of volumes with: diskutil list
# find the UUID with: diskutil info /dev/disk0s2
# add records to /etc/fstab
UUID=B3C9CB71-21B7-30FA-B237-524FA53879DC none hfs rw,noauto
UUID=BCD30ECE-E60C-3E9F-B5AF-C7EF6C729B46 none hfs rw,noauto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment