Jim,
Let me be sure we are clear on what you are seeing:
- You format a new NTFS volume and you cannot mount it WITH your filter
driver loaded; and
- You format a new NTFS volume and you cannot mount it WITHOUT your
filter driver loaded.
If that’s the case there is something wrong with your system. Try
reinstalling Windows. When you can mount a newly formatted NTFS volume,
you can then proceed with your development. Alternatively, you can use
the debugger to walk through the mount handling code of your existing
file system to find out what part of the stack (it might not be NTFS) is
returning STATUS_UNRECOGNIZED_VOLUME.
If I’m wrong (and you can mount when your filter is installed) then I
really do think it is a problem in your filter. That this happens when
you BOOT from NTFS and previously it happened when you BOOT from FAT
suggests to me that the problem is in your filter and your handling of
the mount request on the volume. That’s why I asked you to confirm you
can mount the volume WITHOUT your filter installed. If you can, then
the problem is somewhere in your filter.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Hope to see you at the next OSR file systems class in Boston, MA, March
29, 2004!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of zhong du
Sent: Wednesday, April 07, 2004 11:52 AM
To: ntfsd redirect
Subject: RE: [ntfsd] Question about volume mounting
Hi Tony:
I notice this problem because I can’t attach my filter driver,which
is
based on SFilter, to a newly mounted NTFS volume created by FileDisk.
The
volume is well formatted to be NTFS and i can read and write on it.
I observed the behavior of both NTFS volume and FAT32 volume and
found
that the only deiffernce was that the system returned a
STATUS_UNRECOGNIZED_VOLUME when a NTFS volume was being mounted.(I
captured
two IRP_MN_MOUNT_VOLUMEs while mounting a new volume and the second one
returned STATUS_UNRECOGNIZED_VOLUME )
I think it may be relative with the fact that I boot from a NTFS
volume. I used to meet the same problem with FAT32 when i booted from a
FAT32 volume. How do you think about it?
Thank you very much!
Jim
From: “Tony Mason”
>Reply-To: “Windows File Systems Devs Interest List”
>To: “Windows File Systems Devs Interest List”
>Subject: RE: [ntfsd] Question about volume mounting
>Date: Wed, 7 Apr 2004 09:18:50 -0400
>
>If NTFS returns STATUS_UNRECOGNIZED_VOLUME then it is because the
volume
>is not formatted to be NTFS. This could be due to your filter driver’s
>behavior (is it a DISK filter driver or a FILE SYSTEM filter driver?
Or
>maybe a port filter driver, or a volume manager filter driver…)
>
>FAT is not NTFS. My advice is to check and make sure it works without
>your filter driver. Then, compare what happens WITH your filter
driver.
>Try looking at the two paths of events to see what is different between
>the two leading up to the failure of NTFS to mount the volume.
>
>Regards,
>
>Tony
>
>Tony Mason
>Consulting Partner
>OSR Open Systems Resources, Inc.
>http://www.osr.com
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of zhong du
>Sent: Wednesday, April 07, 2004 8:01 AM
>To: ntfsd redirect
>Subject: [ntfsd] Question about volume mounting
>
>Hi everyone:
> I have wrote a filter driver and I want to attach it to special
>volume
>in my Windows 2000 system. I boot from a NTFS volume but I find that
the
>
>system
>will report STATUS_UNRECOGNIZED_VOLUME when a new NTFS volume is
mounted
>.
>For that reason my filter driver can not be attached to the newly
>mounted
>NTFS volume. And such phenomenon never appears when a FAT32 volume is
>mounted
>to the system. Could anybody give me any advise?
> Thanks very much!
>
> Jim
>
>
>??? MSN Explorer: http://explorer.msn.com/lccn
>
>
>—
>Questions? First check the IFS FAQ at
>https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@osr.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>—
>Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
>You are currently subscribed to ntfsd as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
???,??? MSN Messenger: http://messenger.msn.com/cn
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com