luks1_format

Function luks1_format 

Source
pub fn luks1_format(
    cd: &mut RawDevice,
    cipher: &str,
    cipher_mode: &str,
    hash: &str,
    mk_bits: usize,
    maybe_uuid: Option<&Uuid>,
) -> Result<()>
Expand description

Format a new crypt device as LUKS1 but do not activate it

Note this does not add an active keyslot