Mount/unmount luks device


Pré-requit:

# Debian
apt install crypto-setup
# Pour les autres distribution ... changer de distrib.

GO:

cryptsetup -v luksOpen /dev/sdX usb1
mount /dev/mapper/usb1 /mnt/dest
# Do your thing
umount /mnt/dest
cryptsetup -v luksClose /dev/mapper/usb1

Commentaires