[ Version ( since = "1.5.2" ) ]
public bool luks_format_cipher (string device, string key, int32 keyslot, string cipher) throws Error
format a block device as a LUKS encrypted device
This command is the same as luks_format but it also allows you to set the
cipher
used.
This function depends on the feature "luks". See also feature_available .
this |
A GuestfsSession object |
true on success, false on error |