RE: how to write and override IOBlockStorageDriver???
RE: how to write and override IOBlockStorageDriver???
- Subject: RE: how to write and override IOBlockStorageDriver???
- From: "Mekhala Patil" <email@hidden>
- Date: Wed, 8 Feb 2006 20:25:53 +0530
Hi Mike,
I want to
write a generic IOBlockStorageDriver which gets loaded with the default
IOBlockStorageDriver of Mac OS X.
I want to
write IOBlockStorageDriver so that I can override the read/write request of the
default IOBlockStorageDriver. My IOBlockStorageDriver do the read/write which
is specific to my requirements.
Actually,
In my IOBlockStorageDriver I will override the read/write routines of the
driver so that I can write on multiple disks in a single write call of my
IOBlockStorageDriver.Is it possible to write on multiple disks in a single
write call of IOBlockStorageDriver? Does IOBlockStorageDriver have this kind of
interface where the driver should be able to write on multiple disks in a
single write call of IOBlockStorageDriver??
Please suggest some pointers so that I can
understand the mechanism of IOBlockStorageDriver.
Thanks in advance,
Regards,
Mekhala
From: Mike Smith
[mailto:email@hidden]
Sent: Wednesday, February 08, 2006
12:26 AM
To: Mekhala Patil
Cc: email@hidden
Subject: Re: how to write and
override IOBlockStorageDriver???
On Feb 7, 2006, at 6:24 AM, Mekhala Patil wrote:
I
want to write IOBlockStorageDriver to trap/overload the read/write request.
I
would like to know from where should I start??? I have downloaded
IOATABlockStorageDriver code from Darwin
site. But after going through ioregistry I came to know that
IOATABlockStorageDriver is layered below IOBlockStorageDriver which converts
ATA specific read/write requests to generic read/write requests.
Whereas
I want to write IOBlockStorageDriver for SCSI devices.
It's not quite clear what you mean
here.
Are you attempting to write a driver for a SCSI controller? Or are you
trying to intercept block I/Os, but only to SCSI devices?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden