dmcrypt and unpartitioned devices

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

 



Hi!

I've just done a mistake while setting up an encrypted partition on an external harddrive. (I wrote /dev/sda instead of /dev/sdaX). First I didn't realize the mistake, because all works fine. It seems like I can use unpartitioned device.

So I tried something like this:
echo $SECRET1 | cryptsetup -c aes-cbc-essiv:sha256 -h sha256 -o 68 -b 100000000 create crypt1 /dev/hdb

echo $SECRET2 | cryptsetup -c aes-cbc-essiv:sha256 -h sha256 -o 100000070 -b 100000000 create crypt2 /dev/hdb

and then I can mount /dev/mapper/crypt1 and /dev/mapper/crypt2 and work with them without any problems...

Are there any problems or disadvantages connected with this?
I have already copied gigabytes of data to the external harddrive and don't want to do this again....

cu,
 Rudi

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