RE: Write on specific IOMedia through filter driver
RE: Write on specific IOMedia through filter driver
- Subject: RE: Write on specific IOMedia through filter driver
- From: "Imran Kazi " <email@hidden>
- Date: Tue, 10 May 2005 18:46:32 +0530
Dear Dan
As per your previous mail, we have change the partition name of the volumes,
and use media->getName() function which actually outputs the various
partition names.
My driver write call syntax is as follows-
getProvider->write(this, byteStart, WriteBuffer, completion);
where this -> IOService* client,
byteStart -> byte offset,
WriteBuffer -> IOMemoryDescriptor*,
completion -> IOStorageCompletion.
But still my driver writes the buffer on all the media objects.
How should we specify the write call of the driver to write the buffer on
the specific media object? Or what parameters we have to pass to the write
call, so that it is work for specific media object only?
In our case the write call takes IOService* as input and the GetName() is
IOMedia Method, so even if we check the name and fires the write call it
will write on all the media objects. How should we give IOService* specific
media object?
Thanks
Imran
_______________________________________________
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