NTFS uses CcPin interface to lock the metadata files in the cache. and
NtFlushFile will not solve the problem. I also want to point to feature in
Whistler and XP whereby you can populate file extents by using writes which
doesn’t go through FSD, and then NTFS can be told to pick up the file’s
data. I guess Dismounting and mounting back is an good option, but force
dismount is only available on win2k systems
-----Original Message-----
From: Tony Mason [mailto:xxxxx@osr.com]
Sent: Wednesday, February 13, 2002 7:47 PM
To: File Systems Developers
Subject: [ntfsd] RE: NT Metadata problem…
Neither NTFS nor FAT was designed or implemented to assume that the local
drive contents were going to change in the underlying media using a
mechanism that bypasses the file system itself. Thus, there’s no mechanism
in place because the very thing you indicate your driver does is assumed to
not occur.
Of course, it is always possible to find some way to make this work (like
making NTFS or FAT dismount and then remount the volume) but there’s no
pre-defined mechanism for achieving this.
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 March 11, 2002 in Boston!
-----Original Message-----
From: Mayank Ajmera [mailto:xxxxx@yahoo.com]
Sent: Wednesday, February 13, 2002 5:34 PM
To: File Systems Developers
Subject: [ntfsd] NT Metadata problem…
Hi,
My driver copies data between 2 logical drives which are also exported to a
NT host as drives. Now when I copy over the whole unit to another, the
metadata of the destination gets over written by that of the source. That
is fine, but the NT on the host is not able to figure that out and I need
to reboot the host for NT to see the files on the destination. Is there a
way to force NT to flush the metadata from the cache and re read it or
something of that sort?
Thanks
Mayank
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: xxxxx@Legato.COM
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com