Greetings all,
I have a driver that is trying to emulate a disk (aka volume manager).
I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but I’m
seeing one that I can’t find defined anywhere… Device type ‘4d’ is
supposedly define by Microsoft, but is MIA as far as winioctl.h is
concerned.
Anybody know what the following IOCTL is supposed to do?
xxx: DeviceControl entered, IoControlCode= 4d0008.
DeviceType=4d, Function=2, Method=0, Access=0
Thanks in advance,
-bob
Greetings all,
I have a driver that is trying to emulate a disk (aka volume manager).
I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but I’m
seeing one that I can’t find defined anywhere… Device type ‘4d’ is
supposedly defined by Microsoft, but is MIA as far as winioctl.h is
concerned.
Anybody know what the following IOCTL is supposed to do?
xxx: DeviceControl entered, IoControlCode= 4d0008.
DeviceType=4d, Function=2, Method=0, Access=0
Thanks in advance,
-bob
Examine mountdev.h and mountmgr.h:
#define MOUNTDEVCONTROLTYPE ((ULONG) ‘M’)
#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME CTL_CODE(MOUNTDEVCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
From: xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com] on behalf of xxxxx@dunstable.org[SMTP:xxxxx@dunstable.org]
Reply To: Windows System Software Devs Interest List
Sent: Thursday, October 20, 2005 4:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] IOCTL help
Greetings all,
I have a driver that is trying to emulate a disk (aka volume manager).
I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but I’m
seeing one that I can’t find defined anywhere… Device type ‘4d’ is
supposedly define by Microsoft, but is MIA as far as winioctl.h is
concerned.
Anybody know what the following IOCTL is supposed to do?
xxx: DeviceControl entered, IoControlCode= 4d0008.
DeviceType=4d, Function=2, Method=0, Access=0
Thanks in advance,
-bob
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@upek.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Are you trying to emulate a physical disk or a volume? Those are
different emulation tasks. For the disk emulation you have disk.sys as a
source model. For a volume emulation you have basically nothing to go
by.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@dunstable.org
Sent: Thursday, October 20, 2005 10:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] IOCTL help
Greetings all,
I have a driver that is trying to emulate a disk (aka volume manager).
I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but
I’m
seeing one that I can’t find defined anywhere… Device type ‘4d’ is
supposedly define by Microsoft, but is MIA as far as winioctl.h is
concerned.
Anybody know what the following IOCTL is supposed to do?
xxx: DeviceControl entered, IoControlCode= 4d0008.
DeviceType=4d, Function=2, Method=0, Access=0
Thanks in advance,
-bob
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
xxxxx@dunstable.org wrote:
Greetings all,
I have a driver that is trying to emulate a disk (aka volume manager).
I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but I’m
seeing one that I can’t find defined anywhere… Device type ‘4d’ is
supposedly define by Microsoft, but is MIA as far as winioctl.h is
concerned.
Anybody know what the following IOCTL is supposed to do?
xxx: DeviceControl entered, IoControlCode= 4d0008.
DeviceType=4d, Function=2, Method=0, Access=0
Look in mountmgr.h. MOUNTDEVCTRLTYPE does not follow the naming rules;
it doesn’t start with FILE_. It is defined as ULONG(‘M’), which is hex 4D.
The ioctl is IOCTL_MOUNTDEV_QUERY_DEVICE_NAME.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Thanks Michal, Mark and Tim.
I should have suspected the mount manager stuff. ULONG(‘M’)… this stuff
comes from MS? Or did they get this from Veritas?
I haven’t thought about the disk vs volume question… I just need to
allow windows users to access ‘atypical storage’… The only real
requirement is that the virtual disks (or volumes) need to support grow and
shrink. I think virtual disks should be OK right?
Thanks again!
-bob
----- Original Message -----
From: “Michal Vodicka”
To: “Windows System Software Devs Interest List”
Sent: Thursday, October 20, 2005 4:02 PM
Subject: RE: [ntdev] IOCTL help
Examine mountdev.h and mountmgr.h:
#define MOUNTDEVCONTROLTYPE ((ULONG) ‘M’)
#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME CTL_CODE(MOUNTDEVCONTROLTYPE, 2,
METHOD_BUFFERED, FILE_ANY_ACCESS)
Best regards,
Michal Vodicka
UPEK, Inc.
[xxxxx@upek.com, http://www.upek.com]
> ----------
> From:
> xxxxx@lists.osr.com[SMTP:xxxxx@lists.osr.com]
> on behalf of xxxxx@dunstable.org[SMTP:xxxxx@dunstable.org]
> Reply To: Windows System Software Devs Interest List
> Sent: Thursday, October 20, 2005 4:51 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] IOCTL help
>
> Greetings all,
>
> I have a driver that is trying to emulate a disk (aka volume manager).
> I’ve written code to emulate most of the DISK and STORAGE IOCTLs, but I’m
> seeing one that I can’t find defined anywhere… Device type ‘4d’ is
> supposedly define by Microsoft, but is MIA as far as winioctl.h is
> concerned.
>
> Anybody know what the following IOCTL is supposed to do?
>
> xxx: DeviceControl entered, IoControlCode= 4d0008.
> DeviceType=4d, Function=2, Method=0, Access=0
>
> Thanks in advance,
> -bob
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@upek.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
> seeing one that I can’t find defined anywhere… Device type ‘4d’ is
0x4d is ASCII ‘M’, which is Mount Manager.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com