The WinFS File System For Windows Longhorn: Faster & Smarter
Data Organization Under NTFS
Unlike FAT, which has a separate allocation table at the start of a volume, NTFS organizes its centerpiece - the Master File Table (NFT) - with hidden files. The MFT manages all of a volume's files and so-called metadata in a relational database structure. Information on files is arranged into lines; their attributes (hidden, encrypted, compressed, system, etc.) into columns. Metadata containing information on the MFT itself is stored in the first 16 records, totaling 16 kB.
The table for the MFT below shows the first few records. The next MFT data records contain information on the position in the MFT, contents and unused storage space. By the way, files of up to 900 Bytes can fit entirely into one record. For bigger files, the MFT contains pointers indicating where to find them in the memory. The same applies to folders: if they're small enough, they are included completely in the MFT. NTFS manages larger folders whose data structures point to external clusters in a so-called B-tree structure. The advantage of the B-tree structure is that NTFS indexes similar files or their names and thus speeds up searches for specific files.
Record | Contents | Description |
---|---|---|
0 | MFT information | Basic data records for all files and folders |
1 | MFT information | Copy of the first record |
2 | Protocol file | Serves to restore NTFS |
Row 3 - Cell 0 | Row 3 - Cell 1 | consistency in the event of system errors |
3 | Volume information | Miscellaneous information such as name |
Row 5 - Cell 0 | Row 5 - Cell 1 | and volume version |
4 | Attribute definitions | Names, numbers and descriptions |
Row 7 - Cell 0 | Row 7 - Cell 1 | of file attributes |
5 | Root index | Data root directory |
6 | Cluster bitmap | Free clusters display |
7 | Boot sector | Contains the boot program code among other things |
8 | Corrupt sectors | Information on corrupt sectors |
9 | Backup file | Backup descriptions for all files |
10 | Converter | Translates small letters into Unicode |
11 | NTFS extensions | Various extra functions |
12 to 15 | Unoccupied | Row 15 - Cell 2 |
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Current page: Data Organization Under NTFS
Prev Page Advances In NTFS Next Page Conclusion: WinFS - The Future