Bug#355156: [Pkg-cryptsetup-devel] Bug#355156: cryptsetup: luksOpen
does not work with readonly media anymore
Bastian Kleineidam
calvin at users.sourceforge.net
Sun Mar 5 15:35:57 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jonas,
Jonas Meurer schrieb:
> could you try whether the --readonly flag works for normal encrypted
> filesystems on a harddisk? for me it works.
Mounting normal encrypted filesystems works. Mounting them with
- --readonly works also. What I cannot do is mounting read-only devices
(ie. my DVD device) with --readonly. I suspect that somewhere in the
process cryptsetup tries to write to the device and fails, but then I
don't much about the cryptsetup internals.
And my burner is definitely ok. I burned like 3 DVDs with the same
content and did a binary diff to ensure everything was burned allright.
> how do you create encrypted cds/dvds? do you use a patched cdrecord?
I use growisofs from the dvd+rw-tools package like this:
$ growisofs -Z /dev/hdc=/usr/local/my_dvd_image
The image creation process is straight forward:
First create an image file on disk (with dd) and make a loopback device
out of it with losetup. Then use luksFormat and luksOpen on the loop
device, and fill the resulting mapped device with data. After that,
close the mapped and loopback devices and burn the image file to DVD.
Regards,
Bastian
- --
,''`. Bastian Kleineidam
: :' : GnuPG Schlüssel
`. `' gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFECwVdeBwlBDLsbz4RAvTqAJ9GzCelmIs9VTZAnl/ikJDX/CR/4QCfdCFr
JosqntjwulECnclRO0iwgqA=
=9Ixz
-----END PGP SIGNATURE-----
More information about the Pkg-cryptsetup-devel
mailing list