Jon, you want to look at Christoph Saout's great stuff at http://www.saout.de/misc/dm-crypt.c On Sun, Sep 07, 2003 at 01:31:08PM +0200, Jon Bendtsen wrote: > Me and a friend are trying to built encryption into LVM2, and are > currently in the process of making a dm-crypt mapping target. > (it is also a university project). > > We copy a bio, not cloning. After this we encrypt the data in the bio, > bio_data(), and use submit_bio() to store it at the disk. But the > original bio are still written to disk, so we are looking for a way > to cancel the writing of this original bio? > > > > JonB > > > _______________________________________________ > > dm-devel@xxxxxxxxxxx > http://lists.sistina.com/mailman/listinfo/dm-devel -- Regards, Heinz -- The LVM Guy -- *** Software bugs are stupid. Nevertheless it needs not so stupid people to solve them *** =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Heinz Mauelshagen Sistina Software Inc. Senior Consultant/Developer Am Sonnenhang 11 56242 Marienrachdorf Germany Mauelshagen@xxxxxxxxxxx +49 2626 141200 FAX 924446 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-