mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
commit
991d765b72
11
pages/linux/cryptsetup.md
Normal file
11
pages/linux/cryptsetup.md
Normal 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}}`
|
Loading…
Reference in New Issue
Block a user