macos prevent disk mounting
snippet in c

macos prevent disk mounting

user6856

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