find fails

Butch Anton banton at hpirs.HP.COM
Tue Aug 2 07:43:34 AEST 1988


rich at 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



More information about the Comp.bugs.sys5 mailing list