corrupted files

Dave Hammond daveh at marob.masa.com
Sat Dec 16 05:52:41 AEST 1989


In article <840 at stsim.ocs.com> glenn at stsim (glenn ford) writes:
>I am running SCO386 2.3.1, and have a problem.  There are several (15-20)
>corrupted files in my root directory that I can't seem to delete.  I have
>tried 'rm -i *', but when I come across the corrupted file it just says
>non-existent, and goes onto the next file.  Is there a way to delete these
>files?? In prvious problems such as this I would do rm -r, but I can do
>it this time since the bad files are in the ROOT directory.  Any help
>would be greatly appreciated, thank you.

I believe the problem is not damaged files, but a damaged directory.
The reason `rm -i' says non-existant is likely because the directory
damage resulted in a non-zero inode entry, which now points to a
non-existant file.  In this case, I believe that things like ncheck and
clri will be ineffectual, since the inode really does not exist.  The
easiest (like you say) is to `rm -r' the directory, but since its in the
root directory, you may have to reinstall the system.

--
Dave Hammond
daveh at marob.masa.com
uunet!masa.com!marob!daveh



More information about the Comp.unix.xenix mailing list