IoManager won't mount device.

I am porting a driver from Win2000 to XP (originally from NT40) that is
similar in construction to the Ramdisk sample. My driver uses
IoCreateSymbolicLink to create a dos drive letter (I plan to add mountmgr
support later). The problem I’m having is that I can’t get IoManager to
mount a file system on my device. I have added pnp support in the same
manner as the Ramdisk sample. About the only difference between my driver
and the Ramdisk sample is the fact that ramdisk is installed with an .inf
file and mine is not so ramdisk shows up in the pnp enum tree and an UNKNOWN
device and my driver shows up as a LEGACY_xxx device. I can’t figure out
why IoManager won’t load a filesystem. Here’s some more (possibly) helpful
info:
device type is FILE_DEVICE_DISK
I have tried IoRegisterDeviceInterface but that obviously isn’t necessary
since ramdisk does not use it. Likewise with the mount manager ioctls.

thanks for any help.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Do you support new geometry IOCTLs? If not, it is probably source of your
problem. Check DDK strorage samples how to do it.

Note it is better to test this type of driver on XP RC1 instead of beta 2.
They removed some insane usermode code which caused problems.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: John Moore[SMTP:xxxxx@1vision.com]
Reply To: NT Developers Interest List
Sent: Thursday, July 26, 2001 8:25 PM
To: NT Developers Interest List
Subject: [ntdev] IoManager won’t mount device.

I am porting a driver from Win2000 to XP (originally from NT40) that is
similar in construction to the Ramdisk sample. My driver uses
IoCreateSymbolicLink to create a dos drive letter (I plan to add mountmgr
support later). The problem I’m having is that I can’t get IoManager to
mount a file system on my device. I have added pnp support in the same
manner as the Ramdisk sample. About the only difference between my driver
and the Ramdisk sample is the fact that ramdisk is installed with an .inf
file and mine is not so ramdisk shows up in the pnp enum tree and an
UNKNOWN
device and my driver shows up as a LEGACY_xxx device. I can’t figure out
why IoManager won’t load a filesystem. Here’s some more (possibly)
helpful
info:
device type is FILE_DEVICE_DISK
I have tried IoRegisterDeviceInterface but that obviously isn’t necessary
since ramdisk does not use it. Likewise with the mount manager ioctls.

thanks for any help.


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com