luks_open_ro


Description:

[ Version ( since = "1.5.1" ) ]
public bool luks_open_ro (string device, string key, string mapname) throws Error

open a LUKS-encrypted block device read-only

This is the same as luks_open except that a read-only mapping is created.

This function depends on the feature "luks". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error