public:cryptsetup_quick_guide
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
public:cryptsetup_quick_guide [2017/12/09 15:39] – created fangfufu | public: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} | ||
+ | </ | ||
+ | |||
+ | ===== Mounting of a LUKS volume ===== | ||
+ | <code bash> | ||
+ | sudo cryptsetup luksOpen ${DEVICE_ID} ${MOUNT_POINT_NAME} --key-file ${OPTIONAL_KEY_FILE} | ||
+ | </ | ||
+ | |||
+ | ===== Unmounting of a LUKS volume ===== | ||
+ | <code bash> | ||
+ | cryptsetup luksClose ${VOLUME_NAME} | ||
+ | </ | ||
+ | |||
+ | |||
public/cryptsetup_quick_guide.txt · Last modified: 2018/03/31 00:38 by 127.0.0.1