Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sweedigel

macrumors member
Original poster
Oct 6, 2007
96
0
france
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 ?
 
Last edited:

sweedigel

macrumors member
Original poster
Oct 6, 2007
96
0
france
I answer to myself :

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

and comment LaunchEvents part, result should be :
Code:
<?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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.