From 85eae95f2f5ac3b804aed08a26e8fe666ab258bc Mon Sep 17 00:00:00 2001 From: Jacek Wielemborek Date: Fri, 17 Jun 2016 14:16:02 +0200 Subject: [PATCH] Add cryptsetup.md. --- pages/linux/cryptsetup.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pages/linux/cryptsetup.md diff --git a/pages/linux/cryptsetup.md b/pages/linux/cryptsetup.md new file mode 100644 index 0000000000..861c594cd5 --- /dev/null +++ b/pages/linux/cryptsetup.md @@ -0,0 +1,11 @@ +# cryptsetup + +> Manage plain dm-crypt and LUKS encrypted volumes. + +- Format a drive (or a file) to make it a LUKS volume: + +`cryptsetup luksFormat {{path_to_luks_volume_to_be}}` + +- Open a volume so that you can access it decrypted on the fly at /dev/mapper/{{a}}: + +`cryptsetup luksOpen {{path_to_luks_volume_to_be}} {{a}}`