[ Version ( deprecated = true , since = "1.5.1" ) ]
public bool luks_close (string device) throws Error
Warning: luks_close is deprecated.
close a LUKS device
In new code, use cryptsetup_close instead
This closes a LUKS device that was created earlier by luks_open or
luks_open_ro. The device parameter must be the name of the
LUKS mapping device (ie. /dev/mapper/mapname) and *not* the name of the underlying block device.
This function depends on the feature "luks". See also feature_available .
| this |
A GuestfsSession object |
|
true on success, false on error |