On Sun, May 18, 2008 at 4:30 PM, Bogdan Cristea <cristeab@gmail.com> wrote:
I am trying to mount a file as encrypted filesystem on openSuSE 10.3 following indications from: http://en.opensuse.org/SDB:Using_the_Crypto_File_System#Use_a_file_as_encryp...
I am able to execute the first two steps with no problem:
1. dd if=/dev/urandom of=loop_fs bs=1024 count=20000
2. sudo /sbin/losetup -e 3des /dev/loop0 loop_fs
but at the third step I get an error and I am not able to figure out what it is:
3. sudo /sbin/mke2fs /dev/loop0 mke2fs 1.40.2 (12-Jul-2007) mke2fs: Device size reported to be zero. Invalid partition specified, or partition table wasn't reread after running fdisk, due to a modified partition being busy and in use. You may need to reboot to re-read your partition table.
Can anyone tell me please how to solve this issue?
-- Bogdan Cristea
An alternate solution is to use encfs via fuser instead. It is pretty easy to setup and use. I like it because I can rsync the encrypted files out the backend while having non-encrypted access via the frontside. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org