Windows NT Contains File System Tunneling Capabilities (172190)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows NT Server 4.0
- Microsoft Windows XP 64-Bit Edition
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows XP Media Center Edition
- Microsoft Windows XP Tablet PC Edition
This article was previously published under Q172190 SUMMARYIMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry The Microsoft Windowsproducts listed at the
beginning of this artice contain file system tunneling capabilities to enable
compatibility with programs that rely on file systems being able to hold onto
file meta-info for a short period of time. This occurs after deletion or
renaming and re-introducing a new directory entry with that meta-info (if a
create or rename occurs to cause a file of that name to appear again in a short
period of time). When a name is removed from a directory (rename or
delete), its short/long name pair and creation time are saved in a cache, keyed
by the name that was removed. When a name is added to a directory (rename or
create), the cache is searched to see if there is information to restore. The
cache is effective per instance of a directory. If a directory is deleted, the
cache for it is removed. These paired operations can cause tunneling
on "name."
- delete(name)/create(name)
- delete(name)/rename(source, name)
- rename(name, newname)/create(name)
- rename(name, newname)/rename(source, name)
The idea is to mimic the behavior MS-DOS programs expect when
they use the safe save method. They copy the modified data to a temporary file,
delete the original and rename the temporary to the original. This should seem
to be the original file when complete. Windows performs tunneling on both FAT
and NTFS file systems to ensure long/short file names are retained when 16-bit
applications perform this safe save operation. How to See the Effects of Tunneling- Create a file called file1.
- Wait for one to two minutes.
- Create a file called file2.
- Perform a DIR /TC. Please note the creation times.
- Rename file1 to file.
- Rename file2 to file1.
- Perform a DIR /TC. Please note the creation times are
identical.
Both files now show the same creation times; they are identical
to the original FILE1 creation time and is expected behavior with tunneling
enabled.
Modification Type: | Major | Last Reviewed: | 6/4/2003 |
---|
Keywords: | kbsetup KB172190 |
---|
|