Data Organization Under NTFS

07:00 - Tuesday 17 June 2003 by Oliver Ibelshäuser
Source: Tom's Hardware – Keywords: the, winfs, file, system, for, windows, longhorn

Data Organization Under NTFS

Ad

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
consistency in the event of system errors
3 Volume information Miscellaneous information such as name
and volume version
4 Attribute definitions Names, numbers and descriptions
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

  • Print
  • Send to a friend
  • Comment
  • Content also available in:
Ad
Talkback
Google Ads
Ad