Manage plain
dm-crypt
and LUKS (Linux Unified Key Setup) encrypted volumes. Some subcommands such asluksFormat
have their own usage documentation. More information: https://manned.org/cryptsetup.
cryptsetup luksFormat /dev/sdXY
/dev/mapper/mapping_name
:cryptsetup open /dev/sdXY mapping_name
cryptsetup status mapping_name
cryptsetup close mapping_name
cryptsetup luksChangeKey /dev/sdXY