cblichmann / btrfscue

Recover files from damaged BTRFS filesystems
Other
66 stars 8 forks source link

btrfscue should perform cross-validation of fs entities #9

Open cblichmann opened 5 years ago

cblichmann commented 5 years ago

The index should store a confidence value of sorts. Confidence should increase in cases where we can validate an fs entity with another. One example is that every file extent has a corresponding extent item. If both where found during recon, chances are that the entity is valid. There are other implicit redundancies that are in the on-disk format for performance reasons.