File Name property data structure for the MFT

Source: Internet
Author: User
Tags posix

In the NTFS file system, the type value of the file Name property is 0x30. From this property name you can know that the file name property is used to store file names, in fact, this property can also store the size and time of the file and other information. The MFT index number of the parent directory is also recorded in the file Name property, and the original directory tree structure can be built based on the MFT index number.

In the NTFS file system, the file name attribute is expressed in Unicode encoding, which is slightly different from the previously learned FAT32 file system.

Here is the data structure table for the file name property body

byte offset Describe
00-07 The file parameter number of the parent directory
08-0f File Settling Time
10-17 Last Modified Time
18-1f MFT Change Time
20-27 Last Access time
28-2f file Allocation space size
30-37 File Actual Size
38-3b Sign
40 The length of the file name
41 Naming methods
42 Filename

POSIX is the largest file naming method, which supports filenames with a maximum length of 255 bytes, which is sensitive to case sensitivity.

The WIN32 name is smaller than the POSIX named range, with only uppercase letters.

DOS naming is a subset of Win32 named, using only uppercase letters, filenames cannot exceed 8 characters, and the extension can only be 3

File Name property data structure for the MFT

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.