find fails

Rich Andrews rich at jolnet.UUCP
Wed Aug 3 16:25:49 AEST 1988


In article <3920006 at hpirs.HP.COM> banton at hpirs.HP.COM (Butch Anton) writes:
>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



I have done that and if you want, I will post a listing of all files that 
fail during find.  It is incredible!  Last night i copied all the files in /usr
/lib into a different directory and then copied them back to no avail.
One suggestion was to use tar to archive the files but it failed to
archive the files that find fails on.  Cpio is next.  I think that 
the next call will be to AT&T.  Maybe they have a fix.

rich andrews


-- 
Any opinions expressed are my own.  Now, for a limited time, they can be yours
too, for the incredible price of only $19.95.  Simply send $19.95 (in Alterian
dollars) to ...ihnp4!killer!jolnet!rich.   



More information about the Comp.bugs.sys5 mailing list