1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 16:26:04 +02:00

Add cryptsetup.md.

This commit is contained in:
Jacek Wielemborek 2016-06-17 14:16:02 +02:00
parent aa18a00718
commit 85eae95f2f

11
pages/linux/cryptsetup.md Normal file
View file

@ -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}}`