Re: how dm-drypt works

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

 



Everything is done on-the-fly, as nothing else works.   
In addition, dm-crypt only handles the block layer, i.e.
not files. For file-handling look at standard filesystem 
documentation or an introductory OS text.

Arno


On Sat, Apr 03, 2010 at 12:30:52AM +0100, Oscar wrote:
> hey all! i was wondering how dm-crypt works after a partition has already
> been encrypted. In a situation like:
> 1. Starting from an empty disk you create a partition encrypted with dmcrypt
> 2. Once you have the partition encrypted, you decrypted in order to be able
> to use it and read and/or write on it
> 3. Once you have written on it... what happens next?
> 
> Does dm-crypt re-encrypt the whole partition before closing it? Does it
> encrypt it while you write on the partition? What if you change a file at
> the beginning of the partition and make it bigger? does that action produce
> a displacement in all the following bytes?

> _______________________________________________
> dm-crypt mailing list
> dm-crypt@xxxxxxxx
> http://www.saout.de/mailman/listinfo/dm-crypt


-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@xxxxxxxxxxx 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[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