On Tue, Aug 26, 2008 at 9:32 AM, Mike Gerdts <[EMAIL PROTECTED]> wrote:
> You should be able to confirm that this is your problem with:
>
> $ find . | awk 'length($0) > 8192 {print length($0), $0}'
>
> And could likely work around it by using perl to do the sorting:
>
> $ find . | perl -e 'print sort <>'
I don't have the box here, now. But look at this one, from another box:
# find . | wc -l
find: stat() error ./proc/8890: No such file or directory
813281
# find . | sort | wc -l
find: stat() error ./a/var/sadm/pkg/SUNWlibcroco-devel: No such file
or directory
803580
# uname -a
SunOS solN 5.11 snv_95 i86pc i386 i86pc
# which sort
/usr/bin/sort
# ls -l /usr/bin/sort
-r-xr-xr-x 96 root bin 8148 Jul 26 02:25 /usr/bin/sort
So it looks pretty much like that overflow problem known since 2004.
Also, gupdatedb works here, but fails on the other box.
I will test your proposal nevertheless; though it won't help since my
trouble is with gupdatedb.
Thanks,
Uwe
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss