Virtual disk doesn't work with NTFS in WinXP....

Hello everybody,

I developed a virtual disk driver, which works fine with NTFS and FAT in
Windows 2000. Now I am trying to make it work in Windows XP and came to a
conclusion that it works ok with FAT, but in case of NTFS as soon as I
access newly mounted disk I get “Incorrect function” error. Any ideas?

Thanks,
Vladimir

If you driver is based on old ramdisk sample, XP added new IOCTLs which have
to be supported. Search ntdev archives several years before, it was
discussed several times. Also, ntdev list is more appropriate for this
question.

As idea: verify all IOCTLs sent to your driver during mount are handled
correctly.

Best regards,

Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]


From: xxxxx@filesx.com[SMTP:xxxxx@filesx.com]
Reply To: xxxxx@lists.osr.com
Sent: Wednesday, October 29, 2003 11:23 AM
To: xxxxx@lists.osr.com
Subject: [ntfsd] Virtual disk doesn’t work with NTFS in WinXP…

Hello everybody,

I developed a virtual disk driver, which works fine with NTFS and FAT in
Windows 2000. Now I am trying to make it work in Windows XP and came to a
conclusion that it works ok with FAT, but in case of NTFS as soon as I
access newly mounted disk I get “Incorrect function” error. Any ideas?

Thanks,
Vladimir


You are currently subscribed to ntfsd as: michal.vodicka@st.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

IIRC, the additional IOCTL you need to handle is
IOCTL_DISK_GET_LENGTH_INFO

Assume your driver is base on RAMDISK sample.

“Vodicka, Michal” <michal.vodicka> wrote in message
news:xxxxx@ntfsd…
>
> If you driver is based on old ramdisk sample, XP added new IOCTLs which
have
> to be supported. Search ntdev archives several years before, it was
> discussed several times. Also, ntdev list is more appropriate for this
> question.
>
> As idea: verify all IOCTLs sent to your driver during mount are handled
> correctly.
>
> Best regards,
>
> Michal Vodicka
> STMicroelectronics Design and Application s.r.o.
> [michal.vodicka@st.com, http:://www.st.com]
>
> > ----------
> > From: xxxxx@filesx.com[SMTP:xxxxx@filesx.com]
> > Reply To: xxxxx@lists.osr.com
> > Sent: Wednesday, October 29, 2003 11:23 AM
> > To: xxxxx@lists.osr.com
> > Subject: [ntfsd] Virtual disk doesn’t work with NTFS in WinXP…
> >
> > Hello everybody,
> >
> > I developed a virtual disk driver, which works fine with NTFS and FAT in
> > Windows 2000. Now I am trying to make it work in Windows XP and came to
a
> > conclusion that it works ok with FAT, but in case of NTFS as soon as I
> > access newly mounted disk I get “Incorrect function” error. Any ideas?
> >
> > Thanks,
> > Vladimir
> >
> > —
> > You are currently subscribed to ntfsd as: michal.vodicka@st.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
>
></michal.vodicka>

Some IOCTL is not supported. XP have added several new IOCTLs which are
mandatory, like IOCTL_DISK_GET_LENGTH_INFO and friends.

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

----- Original Message -----
From: “Vladimir”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, October 29, 2003 1:23 PM
Subject: [ntfsd] Virtual disk doesn’t work with NTFS in WinXP…

> Hello everybody,
>
> I developed a virtual disk driver, which works fine with NTFS and FAT in
> Windows 2000. Now I am trying to make it work in Windows XP and came to a
> conclusion that it works ok with FAT, but in case of NTFS as soon as I
> access newly mounted disk I get “Incorrect function” error. Any ideas?
>
> Thanks,
> Vladimir
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com