luks_format_cipher


Description:

[ 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 .

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error




2022 vala-language.org