I was just wondering if you can encrypt an entire device, say a zip 
drive or cdrw?  So insted of this:

#dd if=/dev/urandom of=secure.fs bs=1M count=100
#losetup -e aes /dev/loop0 secure.fs
#mke2fs /dev/loop0
#mount /dev/loop0 /mount/point

Could you do this (/dev/sda4 = usb zip 100M)?

#dd if=/dev/urandom of=/dev/sda4 bs=1M count=100
#losetup -e aes /dev/loop0 /dev/sda4
#mke2fs /dev/loop0
#mount /dev/loop0 /mount/point

or this?

#cdrecord -v speed=8 dev=0,0,0 secure.fs
#losetup -e aes /dev/loop0 /dev/scd0
#mount /dev/loop0 /mount/point

This would eliminate the filesystem, so if the disk is lost, whoever 
finds it wont have a mountable disk.  So insted of finding a disk with a 
single file on it called encrypted.img or whatever (something that would 
peek their interest, and make them want to see what it is), they would 
get a disk full of junk that doesn't even look formated.

Just wondering if this was possible or not.  Thanks
Chris Frederick



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list