[dm-devel] Re: [lvm-devel] dm-crypt - some info, and a few development questions

Christophe Saout christophe at saout.de
Thu Jul 17 17:32:01 UTC 2003


Am Fr, 2003-07-18 um 00.13 schrieb Joe Thornber:

> > Yes, that was really easy. Especially because alle the bio handling and
> > even splitting is already done outside the target file, you just have to
> > specify the mapping. Hey, it's even working. If anyone wants to see it,
> > tell me. ;)
> 
> Excellent :) Why not post the code here, I'm sure people would be be
> interested.

Sure. It's basically code from dm-linear.c and dm-stripe.c (you can
reverse chunks of a given size). The target syntax is "<chunk size>
<device> <first sector>".

I added some lines so that it can be compiled as module outside of the
kernel (the reference counting is working fine).

dm-reverse.c is attached.

--
Christophe Saout <christophe at saout.de>
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-reverse.c
Type: text/x-c
Size: 3735 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20030717/2b6773a7/attachment.bin>


More information about the dm-devel mailing list