Check if device is allready crypted using cryptsetup

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

 



Hello,

I lost a huge data by issuing the following:
cryptsetup -d key1 create dm1 /dev/md0
cryptsetup -d key2 create dm2 /dev/md0

I had crypted my data with key1. Then I wrote accedently a new filesystem on /dev/mapper/dm2, and lost all my data... It would be nice if cryptoloop would warn the user when trying to decrypt the same device with another key...

Bye
falstaff

---------------------------------------------------------------------
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


[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