Comment 16 for bug 122241

Revision history for this message
In , Till (till-redhat-bugs) wrote :

I have written a patch that makes cryptsetup "detect" read-only devices. I am
not sure, whether this is really sane or if there is another way to do this in a
better way. It only makes in unnecessary to provide "--readonly" when opening a
cdrom device, so it does not solve this problem completely:
http://cvs.fedoraproject.org/viewcvs/*checkout*/rpms/cryptsetup-luks/devel/cryptsetup-1.0.5-readonly_detection.patch?rev=1.1&only_with_tag=HEAD