tags:

views:

193

answers:

2

I have a partition, formatted as NTFS. I have studied that devices formatted as NTFS have a MFT (Master File Table) which contains a lot of information about the contents of a devices.

Is MFT really a file?
Where is it located?
How can I view it?

I, actually want to view the $BITMAP to know the locations of all the files and directories in a partition.

Update: Seems like I can only view the MFT file using HexEditor. Still searching for more options though...

A: 

MFT is not a file. MFT is a part of the file system. To view it, you will have to access disk on lower level, such as block mode.

Pavel Radzivilovsky
$MFT is a file.
Andrew Medico
Thanks for helping out.
baltusaj
+1  A: 

Accessing a disk's cluster BITMAP can be read via the FSCTL_GET_VOLUME_BITMAP API call. However, it won't tell what files are at each cluster. You need either parse the MFT (faster) or recursively call FSCTL_GET_RETRIEVAL_POINTERS on each file (slow).

kd304