fstab and filevault2 encrypted volume

Discussion in 'OS X Mountain Lion (10.8)' started by sweedigel, Jan 6, 2013.

  1. sweedigel, Jan 6, 2013
    Last edited: Jan 6, 2013

    macrumors member

    sweedigel

    Joined:
    Oct 6, 2007
    Location:
    france
    #1
    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 ?
     
  2. thread starter macrumors member

    sweedigel

    Joined:
    Oct 6, 2007
    Location:
    france
    #2
    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.
     

Share This Page