[ Version ( since = "1.43.2" ) ]
public bool cryptsetup_close (string device) throws Error
close an encrypted device
This closes an encrypted device that was created earlier by cryptsetup_open
. The device parameter must be the name of the 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 |