🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.ultrix
1 messages
1 total messages Started by Dan Mosedale Thu, 28 Jan 1993 22:43
Q- fix for 4.2A "Arg list too long." from /bin progs?
#7328
Author: Dan Mosedale
Date: Thu, 28 Jan 1993 22:43
24 lines
1243 bytes
If you use programs from /bin (e.g. ls, chmod, egrep, rm, etc) with a
wildcard in a big directory, they barf with "Arg list too long."

For example:

    hostname 232 >  /bin/ls /big_directory/*
    /bin/ls: Arg list too long.

I thought that perhaps this was simply a problem with the various
programs, so I grabbed the GNU fileutils and compiled them.  Same
problem, same error message.  However, I looked at the GNU sources and
saw no such error message.  

Then, doing a strings on /bin/libc.a shows that here lives the error
message.  So presumably, someone is getting an errno of E2BIG and
doing a perror().

Does anyone know how to tweak the kernel and/or do a binary patch to
libc.a to increase the allowed arglist size?

Thanks,

Dan Mosedale
mosedale@genome.stanford.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads