PDA

View Full Version : fstab and filevault2 encrypted volume




sweedigel
Jan 6, 2013, 03:11 PM
Hi, I'm desperately trying to prevent OSX from auto mounting a filevault 2 encrypted volume.

I tried the good old fstab method with noauto parameter, but it seems that it does not work with encrypted volumes, and it keeps asking for the unlock password at logon...

Is there any simple workaround ?



sweedigel
Jan 19, 2013, 08:17 AM
I answer to myself :

sudo nano /usr/libexec/corestoraged/com.apple.corestorage.corestoraged.plist

and comment LaunchEvents part, result should be :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.corestorage.corestoraged</string>
<key>ProgramArguments</key>
<array>
<string>/usr/libexec/corestoraged</string>
</array>
<!-- <key>LaunchEvents</key>
<dict>
<key>com.apple.iokit.matching</key>
<dict>
<key>CoreStorage-Published</key>
<dict>
<key>IOProviderClass</key>
<string>CoreStorageGroup</string>
</dict>
</dict>
</dict> -->
</dict>
</plist>

Fixed.
But i'm wondering if this could affect Fusion drives since they're linked with CoreStorage too.