luks_close


Description:

[ Version ( since = "1.5.1" ) ]
public bool luks_close (string device) throws Error

close a LUKS device

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 .

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org