I have used DefineDosDevice to create a virtual drive from the
user mode. In my mirror driver, DEVICE_IOCONTROL and READ/WRITE
IRPs are forwarded to the actual disk driver.
I get the device object of the disk using IoGetDeviceObjectPointer
of
(\Device\Harddisk1\Partition0).
----- Original Message -----
From: “Jamey Kirby”
>To: “File Systems Developers”
>Sent: Friday, May 09, 2003 4:55 PM
>Subject: [ntfsd] RE: Query
>
>
> > We need much more information from you. How are you
>implementing the
> > virtual disk?
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of Vipin
>Mohan
> > Sent: Friday, May 09, 2003 4:12 AM
> > To: File Systems Developers
> > Subject: [ntfsd] Query
> >
> > Hi All,
> >
> > I am building a mirror driver wherein
> > 1. I Create a Virtual disk (with a drive letter) of my own,
>let
> > say V:
> > 2. I pass all the requests that are bound for this virtual
>disk on
> > an existing disk, let say E:
> >
> > At this moment, the directory contents on both the virtual
>disk
> > and the existing disk are the same when viewed through
>Windows
> > explorer.
> >
> > Now when I copy some files onto the virtual disk drive
>letter
> > (V:), I can only see the updated directory information on
>this
> > virtual disk drive (V:). The directory listing on the
>existing
> > disk (E:) is not updated.
> >
> > If I reboot the machine, the contents are updated on the
>actual
> > disk drive (E:) and are in sync with the contents on Virtual
> > disk(V:).
> >
> >
> > Please Help.
> >
> > TIA
> >
> > Vipul
> >
> >
> >