blkid -o listEncrypt and set passcode, make a filesystem, and mount:
sudo cryptsetup --type plain -v open /dev/sdc1 usb_1 sudo mkfs -t ext4 /dev/mapper/usb_1 sudo mount -t ext4 /dev/mapper/usb_1 mntUnmount and close:
sudo umount /dev/mapper/usb_1 sudo cryptsetup close usb_1To reopen:
sudo cryptsetup --type plain -v open /dev/sdc1 usb_1Enter passcode and then mount:
sudo mount -t ext4 /dev/mapper/usb_1 mnt
©2013-2023 All Rights Reserved.