[pkg-cryptsetup-devel] Bug#574948: Bug#574948: cryptsetup doesn't work if disk contains filesystem

Jonas Meurer jonas at freesources.org
Sun May 2 23:27:00 UTC 2010


hey,

On 22/03/2010 Dmitry E. Oboukhov wrote:
> >> I think that the fact that cryptsetup doesn't allow to create
> >> cryptdevice if filesystem exists is a bug. At least it would be nice
> >> to have an option to bypass this situation.
> 
> MB> FYI: this is bug in cryptdisks_start Debian wrapper, not in cryptsetup.
> MB> plain cryptsetup allows mapping of any device, no fs check there.
> MB> (and in LUKS mode it wipes FS signature during luksFormat)
> 
> MB> Milan
> 
> I wrote (may be is not clear) that I searched an option to bypass. I
> looked through man cryptsetup and cryptdisk_start and did not find
> any solution.

you can disable the precheck by setting precheck=/bin/true in crypttab.
i added that hint to the crypttab manpage now.

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100503/b2881f40/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list