sarma pisapati said:
If a add a volume to Windows 2000 server and updated the
MFD (Master File Directory)programatically, is there a
utility to refresh the directory information of OS?
If you did it programmatically, you can call dismount (programmatically)
using DeviceIOControl (FSCTL_DISMOUNT_VOLUME). The device will be dismounted
and "forgotten" by the os. The next time it is mounted and accessed, the
system recaches it.
I know of no tools that can do that, so I wrote one myself and using it.
It only dismounts drive letters, it needs to be bound first. You can do that
with Resource Kit's MountVol or with the Disk management snap-in. If you
want it, say so and it will be sent to you (part of free tools pack).
You need to have no files open by the system on the drive, otherwise
dismount fails (you can't dismount the boot partition). But since you
modified it, you probably don't read from it at the same time.