Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!rutgers!cmcl2!phri!marob!daveh From: daveh@marob.masa.com (Dave Hammond) Newsgroups: comp.unix.xenix Subject: Re: corrupted files Message-ID: <25893D7A.224E@marob.masa.com> Date: 15 Dec 89 18:52:41 GMT References: <840@stsim.ocs.com> Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC, New York City Lines: 21 In article <840@stsim.ocs.com> glenn@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@marob.masa.com uunet!masa.com!marob!daveh