1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 16:24:55 +02:00
tldr/pages/linux/cryptsetup.md
2016-06-21 12:49:15 +02:00

11 lines
322 B
Markdown

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