Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I read NTFS is organizied with array of record called MFT. which has file/folder attributes. It has file name attribute but where is the path of the file stored if its deep inside many subfolder. Do ntfs have other attribute for path storage.
Thanks
Posted
Updated 8-Feb-13 0:06am
v2

The path is not stored, it is merely linked via the directory and subdirectory tree. If you wish to load the file C:\MyDirectory\sub1\accounts\myfile.txt then the system searches for MyDirectory in the root directory of the C: drive. It then searches for the sub1 directory in the MyDirectory directory, and so on, until it finds the entry for the file.
 
Share this answer
 
Richard,

Thanks for your reply. I want it to be more detailed. like does the file/folder record hold details about the root folder of it.

thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900