luks_open_ro


Description:

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

Warning: luks_open_ro is deprecated.

open a LUKS-encrypted block device read-only

Note:

In new code, use cryptsetup_open instead

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