Re: How to do IO across hardsector boundries

From: Arjan van de Ven
Date: Sun Aug 01 2004 - 03:55:22 EST


On Sun, 2004-08-01 at 02:22, Thomas S. Iversen wrote:
> Hi There
>
> As part of an assignment I am trying to port a piece of software from
> FreeBSD to linux. Essentially this software (crypto) makes a virtual
> blockdevice with "virtual" sectors on top. Under FreeBSD these virtual
> sectors are just read/written using a simple command:

I can recommend that you look at the Device Mapper layer and consider
porting your code to that, it's designed to take care of some of the
hard work for you for usages like this.

Attachment: signature.asc
Description: This is a digitally signed message part