Encryption File System Cryptsetup configurationcryptsetup - setup cryptographic volumes for dm-crypt (including LUKS extension)
Test in Centos5.3
Normal cryptsetup (without luks)
dd if=/dev/zero of=/root/efsdata bs=1M count=100
cryptsetup -y create efsdata /dev/loop0
After mkfs, the efs /dev/mapper/efsdata will be created.
Create /mnt/efsdata for mounting.
This part only for first time creation of efs or you want change password to re-format efs.
cryptsetup remove efsdata
You can also use key file eg:
"cat /root/efs.key | cryptsetup create efsdata /dev/loop0"
You can make the mount-efs.sh script for this past
You can make the umount-efs.sh script for this past
P.S. (/dev/loop0 can be instead of other device).
P.S. If you input wrong password, you will get message "mount: you must specify the filesystem type" only while mounting.
Server is hosted by Alanstudio
Linux Operating System
Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.