[ 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
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 .
| this |
A GuestfsSession object |
|
true on success, false on error |