I get the following error message when running
ls -il on a folder on a USB drive:
ls: cannot access 'ofCpp.h': Bad message total 0 ? -????????? ? ? ? ? ? ofCpp.h
As you can see there is no inode number or anything else but a filename. It seems the file has been corrupted. Can I delete this file or do I need to format the drive? The following didn't work:
[me@mycomputer src]$ sudo find . -name ofCpp.h -delete find: cannot delete ‘./ofCpp.h’: Bad message [me@mycomputer src]$ sudo rm ofCpp.h rm: cannot remove 'ofCpp.h': Bad message
OP in this thread had the same issue but it seem he didn't manage solve it.