5,337
edits
Line 31: | Line 31: | ||
===Mounting=== | ===Mounting=== | ||
< | <syntaxhighlight lang="bash"> | ||
# Open the encrypted drive | # Open the encrypted drive | ||
cryptsetup open "${DEVICE}" "${NAME}" | cryptsetup open "${DEVICE}" "${NAME}" | ||
# Mount your partition | # Mount your partition | ||
mount -t btrfs /dev/mapper/${NAME} "${MOUNT_LOCATION}" | mount -t btrfs /dev/mapper/${NAME} "${MOUNT_LOCATION}" | ||
</ | </syntaxhighlight> | ||
===Unmounting=== | ===Unmounting=== |