Add ability to fix directory entries
shreyasbharath opened this issue · 1 comments
shreyasbharath commented
Hi there,
Thank you for this library! We are using it in our project to repair errors on the file system.
I was wondering, is there a way to repair invalid directory entries? For example, if the same filename appears multiple times in a directory's entries or if the filename is garbage (i.e. non-printable) then some sort of corruption has occurred.
Is it possible to enhance the library to support this?
Thanks.
Gregwar commented
Hello
Your request is too vague
"Non printable" is not that clear, think of special characters encoding
Multiple file with the same name can be detected, however which one should be kept and which one should be destroyed?
You may have a look at fsck, but I'm not sure it will solve your problems