Wednesday, February 3, 2021

How to prevent Automounting of Volumes (USB drives, optical discs, etc) upon connecting on Mac OS X

 https://discussions.apple.com/docs/DOC-7942

  1. diskutil info /Volumes/<volume that shouldn't be mounted>
  2. Get UUID from output from above step 1.
  3. sudo /etc/vifs
  4. Add this to the file:
    1. UUID=<LONG-UUID-LIKE-F77F-3F72-A6C2-26676F39B7CE> none hfs rw,noauto
  5. sudo automount -vc
Done! Worked for me!

No comments:

Post a Comment