Search code examples
filefilesystemsntfsext3ext4

How are access times, modified times, encodings and filenames stored in files on NTFS and EXT3/4?


For academic and task related purposes I need to know how is file related data associated within files on NTFS and EXT. How does the operating system know file's name? How do editors know in which encoding to treat the file contents?

Are these details stored on a separate information location on the NTFS/EXT or are they included within the file itself?


Solution

  • On NTFS such information is stored not in the file itself but in the master file table (MFT).

    You are asking many questions. I suggest you read up on the subject. Here is the short version, and here is everything in full detail.