educative.io

Exercise - Operating Systems: Virtualization, Concurrency & Persistence

can fsck check for name change? and can it fix it?

Hi @SALEH_SAKIB_AHMED, fsck is not designed to check for name changes specifically, but it may be able to detect and fix inconsistencies related to file names during a file system repair if the original name is still present in the file system’s metadata. However, if the original name has been overwritten or is no longer present, fsck may not be able to detect or fix the name change.