Encrypted directory with losetup

April 14, 2014
Create a file device:
dd if=/dev/zero of=/tmp/crypto.raw bs=1M count=100
Mount Loop device:
losetup -e blowfish `losetup -f` /tmp/crypto.raw
Format:
mkfs.ext3 /dev/loop0
losetup -d /dev/loop0
Mount Loop device:
mount -t ext3 /tmp/crypto.raw /mnt/crypto/ -o encryption=blowfish

posted in System Administrator by nico

Follow comments via the RSS Feed| Trackback URL