Home > Software engineering >  Familiar with NFTS great god for help
Familiar with NFTS great god for help

Time:11-15

Project encountered some problems at present, a detailed description is as follows:
Copy a file from one partition to another, first obtained from the bitmap unused cluster, to put the file is written to the cluster, and then modify the contents of the MFT table,
After these operations, with CHKDSK to detect, in some cases, CHKDSK prompts some variety used by cross, but I through code detection MFT table, didn't find these clusters used by multiple files, the great spirit guide,

CodePudding user response:

Mainly is the need to know, how to determine whether a cluster is CHKDSK cross references,
Now on my side, as long as this problem, there is a file is damaged (MFT table file inside the corresponding property of the reset)

CodePudding user response:

Did not have to understand, are extracted from a guess -- the bitmap unused cluster, then finished whether to update the status in the bitmap?


CodePudding user response:

refer to the second floor zgl7903 response:
did not have to understand, are extracted from a guess -- the bitmap unused cluster, then finished whether to update the status in the bitmap?

Yes, finished, will be an update bitmap information

CodePudding user response:

Whether it can be operation, use a small amount of disk/card, use normal computer formatted with NTFS, then use your way to record all the data on the disk, the first to use a computer to copy a file to disk, with the way you read, the contrast before and after the change, take a look at your operation and what is the difference between the operation of the system of standard

CodePudding user response:

reference 4 floor zgl7903 response:
whether can such operation, use a small amount of disk/card, use normal computer formatted with NTFS, then use your way to record all the data on the disk, the first to use a computer to copy a file to disk, with the way you read, the contrast before and after the change, take a look at your operation and what is the difference between the operation of the system of standard

I to restructure the data, the inside of the NTFS MFT table, some of the information recorded files, including file time, size and actual size and and the concrete location of the file on the disk , you can think of is similar to Windows's own disk defragmenter, files on the hard disk to store the location of moving, the contents of the file is same, only there are differences between the MFT table,
CHKDSK is detection of MFT table error and repair, some software to recover deleted files, and by analyzing the MFT table

CodePudding user response:

I do now, is similar to Windows disk defragmenter, a partition of the file, copied to another partition, and eliminate the fragments inside
  • Related