谁能告诉我作者在这一行的意思是什么?
我正在浏览此链接:FAT16 组装集群基础知识。 我已经阅读了 FAT 中定义目录条目所涉及的结构。 现在,在给出 FAT16 文件的示例时,示例文件 MyFile.txt 的数据簇为 0x03。 这意味着如果我们逻辑地计算数据集群,我们将能够到达第一个节点,该节点恰好是集群 3。
但我无法理解的是作者在下一行中试图说的内容
此时我们可以在文件分配表中看到什么?
我们如何突然到达文件分配表? 当我们查看Myfile.txt 的信息时,我们不是已经到那里了吗? 我找不到任何原因,作者如何突然跳转到 00000200 的偏移位置并识别簇的空性。 如果有人能帮助我理解,那就太好了。
I was going through this link: FAT16 Basics to Assemble Clusters. I have read the structures involved in defining a directory entry in FAT. Now when giving the example for a FAT16 File, it says the data cluster is 0x03 for the example file MyFile.txt. Which means if we logically compute the Data Cluster we will be able to reach to the first node which happens to be cluster no 3.
But what I fail to understand is what the author is trying to say in the next line where it says
What we can see in the File Allocation Table at this moment?
How suddenly we reach to the File Allocation Table? Weren't we already there when we were going through the information of Myfile.txt? I couldn't find any reason how suddenly the author jumped to an offset location of 00000200 and is identifying the emptiness of the clusters. It will be great if someone can help me understand.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
作者在下面的要点中告诉您。
但是 FAT 从偏移量 0x0200 开始,并且由于文件从第 3 个簇开始,而 FAT16 簇的大小为两个字节(16 位),因此从偏移量 2 × 3 或 6 开始。
在驱动器上,分配的大小为 32K ,文件大小为 > 32K × 3 但 <= 32K × 4,该文件将占用四个簇,因此在文件恢复过程中,有根据的猜测是:从偏移量六开始的八个字节包含文件的四个簇号。
The author tells you in the bullet points just below.
But the FAT starts at offset 0x0200, and since the file starts in the 3rd cluster and FAT16 cluster are two bytes (16 bits) in size, you start at offset 2 × 3, or 6.
On the drive, the allocated size is 32K, and the file size is > 32K × 3 but <= 32K × 4, the file will take four clusters, so the educated guess here during file recovery is that the eight bytes starting at offset six contain the four cluster numbers of the file.