Mount script able to deal with encryption and loopback devices.