Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

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
 
PREVIOUS NEXT
Tagged: #macos #prevent #disk #mounting
ADD COMMENT
Topic
Name
7+1 =