Peter’s suggestion will work only if the disks you’re interested in are
presented to the host when you run this program (which calls SetupDI
API’s). I don’t think it will work for newly added disks. For that you
might have to write a filter to change service. Sounds like you might
need more than 1 driver for what you need to do.
Rupin
-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Tuesday, May 13, 2003 4:35 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to properly install a disk class driver??
Or use the SetupDI API to change the service on the disks you’re
interested in to EdvalsonDisk.sys instead of disk.sys
-p
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Tuesday, May 13, 2003 1:31 PM
To: NT Developers Interest List
Subject: [ntdev] RE: How to properly install a disk class driver??
It is difficult to tell what you are really trying to do here, but a
clone of disk.sys is unlikely to work as you seem to require. The
problem is PnP enumeration, which is always going to choose disk.sys for
PDOs that are enumerated as type GenericDisk, ScsiDisk, etc. You could
of course somehow convince the system that your PDOs of interest have a
different enumeration string (e.g. EdvalsonDisk,) and make your
EdvalsonDiskClone driver the FDO for things enumerated as EdvalsonDisk,
then you could do whatever you want with these specific disks.
-----Original Message-----
From: Don Edvalson [mailto:xxxxx@pinnaclesys.com]
Sent: Tuesday, May 13, 2003 4:10 PM
To: NT Developers Interest List
Subject: [ntdev] How to properly install a disk class driver??
I am developing a driver based on disk.sys which will claim certain
disks and use them for other purposes outside of the normal Disk
Administrator.
The question I have involves installation and calling order.
When the system is booted, it is essential that my driver be allowed
to claim disks prior to the normal disk.sys. Also, when a new disk is
added the same applies.
This probably seems like a stupid question, but how do I go about
making sure that my driver gets called before disk.sys??
I am also curious to know if I could do this with a filter driver and
avoid the whole problem. At first I thought this was the way to do it,
but then I read that filter drivers are not allowed to claim disks.
Thanks in advance for any suggetsions,
Don
You are currently subscribed to ntdev as:
xxxxx@stratus.com To unsubscribe send a blank email to
xxxxx@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
You are currently subscribed to ntdev as: rupin.mohan@hp.com
To unsubscribe send a blank email to xxxxx@lists.osr.com