tldr/pages/linux/cryptsetup.md

12 lines
322 B
Markdown
Raw Normal View History

2016-06-17 15:16:02 +03:00
# 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}}`
2016-06-17 15:16:02 +03:00
- 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}}`