pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK and information it on this mail list. I would like to make it PNP compatible, interact with the mount point manager. I was inclining to write a root enumerated bus driver and function driver to do this job. Is this a right approach? Please suggest.

TIA
KP


What are the most popular cars? Find out at Yahoo! Autos

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete

Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK and
information it on this mail list. I would like to make it PNP compatible,
interact with the mount point manager. I was inclining to write a root
enumerated bus driver and function driver to do this job. Is this a right
approach? Please suggest.

TIA
KP


What are the most popular cars? Find out at Yahoo!
http:wNtYWlsdGFncwRzbGsDMmF1dG9z/*http:/autos.yahoo.com/newcars/popular/thisweek.
html%20%0d%0a> Autos — Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed to
ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a blank email to
xxxxx@lists.osr.com</http:>

You can use KMDF for both the bus driver and ramdisk function driver.
This will remove the non trivial aspects of dealing with pnp and power
and enumeration. You can crank out the bus driver in under a day if you
start with either the KMDF statbus or dynambus samples. There is also a
KMDF ramdisk sample as well.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, February 16, 2006 12:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK
and information it on this mail list. I would like to make it PNP
compatible, interact with the mount point manager. I was inclining to
write a root enumerated bus driver and function driver to do this job.
Is this a right approach? Please suggest.

TIA
KP


What are the most popular cars? Find out at Yahoo! Autos — Questions?
First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a blank email
to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Plus the actual relationships between disk/volume/mountmgr are pretty
well undocumented. So the OP will be doing a lot of
experimentation/reverse engineering.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, February 16, 2006 3:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete

Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK
and information it on this mail list. I would like to make it PNP
compatible, interact with the mount point manager. I was inclining to
write a root enumerated bus driver and function driver to do this job.
Is this a right approach? Please suggest.

TIA
KP


What are the most popular cars? Find out at Yahoo! Autos
http:HNlYwNtYWlsdGFncwRzbGsDMmF1dG9z/*http:/autos.yahoo.com/newcars/popular/t
hisweek.html%20%0d%0a> — Questions? First check the Kernel Driver FAQ
at http://www.osronline.com/article.cfm?id=256 You are currently
subscribed to ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a
blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>

I did consider KMDF for my development. But, I am required to support W2K platform as well. I know the next release of KMDF 1.1 will be avaliable on W2K as well. I read on this newsgroup that if there is W2K specific bug/issue with KMDF, MS will not fix it. Then, I decided to go with WDM model which I am familiar as well.
With regard to disk/volume/mountmgr, I guess i have to worry about mountpoint manager which is documented in the DDK. I need not worry about partition manager.

Doron Holan wrote:
You can use KMDF for both the bus driver and ramdisk function driver.
This will remove the non trivial aspects of dealing with pnp and power
and enumeration. You can crank out the bus driver in under a day if you
start with either the KMDF statbus or dynambus samples. There is also a
KMDF ramdisk sample as well.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, February 16, 2006 12:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK
and information it on this mail list. I would like to make it PNP
compatible, interact with the mount point manager. I was inclining to
write a root enumerated bus driver and function driver to do this job.
Is this a right approach? Please suggest.

TIA
KP

________________________________________

What are the most popular cars? Find out at Yahoo! Autos — Questions?
First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a blank email
to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Brings words and photos together (easily) with
PhotoMail - it’s free and works with Yahoo! Mail.

With respect to Win2k related fixes, what that statement means is that MSFT will not release an SP for win2k itself to fix an issue. It does not mean that KMDF will not be fixed. Unless the problem is unsolvable, the KMDF is allowed to release a new version to fix the issue.

With that said, I don’t foresee an issue that would come up. If win2k had a bug in the i/o subsystem or pnp that was that bad, I think it would have surfaced by now and fixed by SP4.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 1:15 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

I did consider KMDF for my development. But, I am required to support W2K platform as well. I know the next release of KMDF 1.1 will be avaliable on W2K as well. I read on this newsgroup that if there is W2K specific bug/issue with KMDF, MS will not fix it. Then, I decided to go with WDM model which I am familiar as well.
With regard to disk/volume/mountmgr, I guess i have to worry about mountpoint manager which is documented in the DDK. I need not worry about partition manager.
?

Doron Holan wrote:
You can use KMDF for both the bus driver and ramdisk function driver.
This will remove the non trivial aspects of dealing with pnp and power
and enumeration. You can crank out the bus driver in under a day if you
start with either the KMDF statbus or dynambus samples. There is also a
KMDF ramdisk sample as well.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, February 16, 2006 12:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK
and information it on this mail list. I would like to make it PNP
compatible, interact with the mount point manager. I was inclining to
write a root enumerated bus driver and function driver to do this job.
Is this a right approach? Please suggest.

TIA
KP



What are the most popular cars? Find out at Yahoo! Autos — Questions?
First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a blank email
to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Brings words and photos together (easily) with
PhotoMail - it’s free and works with Yahoo! Mail. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you for explaining it

Doron Holan wrote: With respect to Win2k related fixes, what that statement means is that MSFT will not release an SP for win2k itself to fix an issue. It does not mean that KMDF will not be fixed. Unless the problem is unsolvable, the KMDF is allowed to release a new version to fix the issue.

With that said, I don’t foresee an issue that would come up. If win2k had a bug in the i/o subsystem or pnp that was that bad, I think it would have surfaced by now and fixed by SP4.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 1:15 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

I did consider KMDF for my development. But, I am required to support W2K platform as well. I know the next release of KMDF 1.1 will be avaliable on W2K as well. I read on this newsgroup that if there is W2K specific bug/issue with KMDF, MS will not fix it. Then, I decided to go with WDM model which I am familiar as well.
With regard to disk/volume/mountmgr, I guess i have to worry about mountpoint manager which is documented in the DDK. I need not worry about partition manager.

Doron Holan wrote:
You can use KMDF for both the bus driver and ramdisk function driver.
This will remove the non trivial aspects of dealing with pnp and power
and enumeration. You can crank out the bus driver in under a day if you
start with either the KMDF statbus or dynambus samples. There is also a
KMDF ramdisk sample as well.

d


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Peter Scott
Sent: Thursday, February 16, 2006 12:35 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] pseudo volume driver

This is the most flexible and dynamic approach but it is no trivial
undertaking, at least doing it from scratch. You will essentially be
developing and writing the equivalent of the toaster example in the DDK.

Pete
Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of krnl_drv
Sent: Thursday, February 16, 2006 12:16 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] pseudo volume driver

Hi,
I need to develop pseudo volume driver. I have seen example of RAMDISK
and information it on this mail list. I would like to make it PNP
compatible, interact with the mount point manager. I was inclining to
write a root enumerated bus driver and function driver to do this job.
Is this a right approach? Please suggest.

TIA
KP



What are the most popular cars? Find out at Yahoo! Autos — Questions?
First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256 You are currently subscribed
to ntdev as: xxxxx@kerneldrivers.com To unsubscribe send a blank email
to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

________________________________________
Brings words and photos together (easily) with
PhotoMail - it’s free and works with Yahoo! Mail. — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

---------------------------------
Brings words and photos together (easily) with
PhotoMail - it’s free and works with Yahoo! Mail.

krnl_drv wrote:

I did consider KMDF for my development. But, I am required to support
W2K platform as well. I know the next release of KMDF 1.1 will be
avaliable on W2K as well. I read on this newsgroup that if there is
W2K specific bug/issue with KMDF, MS will not fix it. Then, I decided
to go with WDM model which I am familiar as well.
With regard to disk/volume/mountmgr, I guess i have to worry about
mountpoint manager which is documented in the DDK. I need not worry
about partition manager.

Frankly, the odds of there being a serious unfixed Win2K bug in KMDF are
much, much less than the chances of you screwing up the things that KMDF
does for you.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Try using IoReportDetectedDevice with all NULLs as parameters, this creates
a PnP PDO without any bus drivers.

Then register MOUNTDEV_MOUNTED_DEVICE_GUID interface on it. You will
receive lots of IOCTL_MOUNTDEV_xxx requests from the mount manager, respond to
them (the most important is the unique ID query).

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “krnl_drv”
To: “Windows System Software Devs Interest List”
Sent: Thursday, February 16, 2006 10:15 PM
Subject: [ntdev] pseudo volume driver

> Hi,
> I need to develop pseudo volume driver. I have seen example of RAMDISK and
information it on this mail list. I would like to make it PNP compatible,
interact with the mount point manager. I was inclining to write a root
enumerated bus driver and function driver to do this job. Is this a right
approach? Please suggest.
>
> TIA
> KP
>
>
>
>
>
>
>
> ---------------------------------
>
> What are the most popular cars? Find out at Yahoo! Autos
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

>Plus the actual relationships between disk/volume/mountmgr are pretty

well undocumented.

IOCTL_MOUNTDEV_xxx are documented.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com