Disk Partition bus driver

Hi all,

I am going a bit nuts trying to get something working. I have spent far
too long trying to solve this one problem, so it’s probably something
simple.

What I am trying to do is, I have a disk that has a non standard
partition map. I need to have these partitions mount as drives
(accessible via drive letters). So far I have written a bus driver that
enumerates all of the partitions, creates PDOs for them…ultimately I
call IoRegisterDeviceInterface(…, &MOUNTDEV_MOUNTED_DEVICE_GUID,…)
for each device object representing a partition.

I do respond to a bunch of IOCTLs, but I never see the ones for the
mount manager (IOCTL_MOUNTDEV_QUERY_UNIQUE_ID,
IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY,
IOCTL_MOUNTDEV_QUERY_DEVICE_NAME)

Any tips on what I might be missing?

Thanks

The best way is to filter reads and writes to sector 0 and assemble
the standard partition table in it on the fly.

Max

----- Original Message -----
From: “Cliff Russell”
To: “NT Developers Interest List”
Sent: Saturday, May 10, 2003 7:14 AM
Subject: [ntdev] Disk Partition bus driver

> Hi all,
>
> I am going a bit nuts trying to get something working. I have spent
far
> too long trying to solve this one problem, so it’s probably
something
> simple.
>
> What I am trying to do is, I have a disk that has a non standard
> partition map. I need to have these partitions mount as drives
> (accessible via drive letters). So far I have written a bus driver
that
> enumerates all of the partitions, creates PDOs for them…ultimately
I
> call IoRegisterDeviceInterface(…,
&MOUNTDEV_MOUNTED_DEVICE_GUID,…)
> for each device object representing a partition.
>
> I do respond to a bunch of IOCTLs, but I never see the ones for the
> mount manager (IOCTL_MOUNTDEV_QUERY_UNIQUE_ID,
> IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY,
> IOCTL_MOUNTDEV_QUERY_DEVICE_NAME)
>
> Any tips on what I might be missing?
>
> Thanks
> - Cliff
> xxxxx@telus.net
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com