Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpirs!banton From: banton@hpirs.HP.COM (Butch Anton) Newsgroups: comp.bugs.sys5 Subject: Re: find fails Message-ID: <3920006@hpirs.HP.COM> Date: 1 Aug 88 21:43:34 GMT References: <673@jolnet.UUCP> Organization: Hewlett Packard, Cupertino Lines: 30 rich@jolnet.UUCP (Rich Andrews) writes: > When I am in /usr/lib and execute a find command such as > "find . -print" it gets to /usr/lib/uucp and then it fails > with a stat() failed /usr/lib/uucp/cd_text. > > This is not the only file that this happens to. It also > happens to some of my /usr/lib/*.a files and to some > of my F77 libs and pascal files. > > Fsck reports all is ok and the files are readable. > > Any ideas? If other suggestions fail, it may be a simple case of cd_text being hosed. My suggestions are as follows: 1) copy cd_text cd_text.temp 2) rm cd_text 3) mv cd_text.temp cd_text That should give you a (resonably) clean copy of cd_text. Hopefully, things will return to normal. Please note: This may or may not work, depending on how hosed the file is, if it's hosed at all. It also assumes that you'll be able to get a clean copy from cd_text; this may not be possible. I know these suggestions sound a little bit iffy, and that's 'cause they are, but it's worked for me in the past. -Butch