macos prevent disk mounting code example
Example: macos prevent disk mounting
'diskutil info /Volumes/disk' to get Volume UUID
cd /etc
sudo vifs
UUID=FF9DBDC4-F77F-3F72-A6C2-26676F39B7CE none hfs rw,noauto
'diskutil info /Volumes/disk' to get Volume UUID
cd /etc
sudo vifs
UUID=FF9DBDC4-F77F-3F72-A6C2-26676F39B7CE none hfs rw,noauto