Re: howto dm-crypt dvd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 29 Jun 2010, Arno Wagner wrote:

On Tue, Jun 29, 2010 at 10:32:24AM -0500, Richard Ray wrote:
I want to store private documents on a dvd so I followed this prescription

dd if=/dev/zero of=loop bs=1G count=2
losetup /dev/loop0 loop
cryptsetup --verbose --cipher "twofish-cbc-essiv:sha256" --key-size 256
--verify-passphrase luksFormat /dev/loop0
cryptsetup luksOpen /dev/loop0 loop
mke2fs -m0 -j /dev/mapper/loop
mount -t ext3 -o rw,defaults /dev/mapper/loop ~/mnt1
cp -Rpv doc/ mnt1/
umount mnt1
cryptsetup luksClose loop
losetup -d /dev/loop0
growisofs -dvd-compat -Z /dev/dvd=/video_1/loop


This all completed without errors
So then I

cryptsetup luksOpen /dev/dvd dvd
mount -t ext3 -o rw,defaults /dev/mapper/dvd ~/dvd

An "rw" mount for a DVD? No wonder you get problems.
The journal and other data updated (e.g. last-access time
stamp updates) must have piled up in the filesystem buffer.

Umounting requires them to be flushed to disk, which cannto be
done due to non-writability.

Just use the following for mounting the mapped DVD:

 mount -t ext3 -o ro /dev/mapper/dvd ~/dvd

That should fix things.

Arno


Man what a foobar
Cut and paste strikes again
Works fine

Thanks
Richard
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux