> > I tried to make an encrypted dvd this way (using cryptsetup > > 1.0.3-0ubuntu1) > > > > $ mkisofs -r -J path/to/stuff/ |aespipe -H sha256 -e aes256 -T >foo.iso > > [entered passphrase twice] > > [waited a while] > > [ended up with a 4.2GB foo.iso] > > > > $ dvdrecord -v -dao dev=/dev/dvdrw foo.iso > > > > $ eject > > [pushed the button on the drive to suck the dvd back in] > > > > $ sudo cryptsetup -c aes -s 256 -h sha256 create cd /dev/dvdrw > > [entered sudo password] > > [entered crypto passphrase] > > Command failed: device-mapper: reload ioctl failed: Invalid argument > > > > [tried again a few times, with the same result] > > > > > > Anyone know what I'm doing wrong? > > No idea, but you should be able to test this by mounting the > .iso file via losetup. Would save you the dvd writing. Tried again but between mkisofs & cdrecord inserted the following # losetup /dev/loop0 foo.iso # cryptsetup create cd /dev/loop0 # mount /dev/loop0 /media/dvd and it worked then the dvdrecord and cryptsetup and mount worked too. Don't know what I did differently other than the middle "test" step! Thanks for the advice. --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx