User Tools

Site Tools


public:cryptsetup_quick_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
public:cryptsetup_quick_guide [2017/12/09 15:39] – created fangfufupublic:cryptsetup_quick_guide [2017/12/09 15:43] fangfufu
Line 1: Line 1:
 ====== Cryptsetup Quick Guide ====== ====== Cryptsetup Quick Guide ======
 +===== Creation of a LUKS volume =====
 +<code bash>
 +cryptsetup luksFormat ${DEVICE_PATH}
 +</code>
 +
 +===== Mounting of a LUKS volume =====
 +<code bash>
 +sudo cryptsetup luksOpen ${DEVICE_ID} ${MOUNT_POINT_NAME} --key-file ${OPTIONAL_KEY_FILE}
 +</code>
 +
 +===== Unmounting of a LUKS volume =====
 +<code bash>
 +cryptsetup luksClose ${VOLUME_NAME}
 +</code>
 +
 +
  
public/cryptsetup_quick_guide.txt · Last modified: 2018/03/31 00:38 by 127.0.0.1