Skip to content

Instantly share code, notes, and snippets.

@david415
Created December 10, 2014 00:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save david415/bfd03354219f1ad317b6 to your computer and use it in GitHub Desktop.
Save david415/bfd03354219f1ad317b6 to your computer and use it in GitHub Desktop.
mount/umount encrypted usb
cryptsetup luksOpen /dev/sdb1 secretStash
mount /dev/mapper/secretStash /mnt
# and umount
umount /mnt
cryptsetup luksClose secretStash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment