0

I have a confusion regarding the fsck correction. I have corrupted an ACL block of an inode. Trying to understand how fsck corrects. What value does it compares and performs the correction.
Does fsck corrects the inconsistency of the file system by comparing the on-disk structures with the Journal or with the buffer. Or does it checks the superblocks with the other structures.

4

1 回答 1

1

“更正”不一定是您认为的意思。

通常,磁盘上没有数据或元数据的多个副本,即使有,也可能无法确定哪一个是正确的。

fsck只是更改元数据,以便文件系统再次保持一致。但结果可能是一个过时的副本,或者一些看起来像正确数据的垃圾;在极端情况下,使损坏的数据保持一致的唯一方法可能是完全删除它。

于 2014-04-04T08:05:01.190 回答