[CentOS] ls and rm: "argument list too long"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Oct 24, 2008 at 8:48 AM, fred smith
<fredex@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> I've always understood it to be an issue with commandline length: somewhere
> (probably in bash) there's a limit on how big a buffer is/can be used for
> storing the comamndline.

There are two possible buffer limits one could encounter: tty driver
input line buffer (which is not an issue for bash because readline
avoids it) and kernel exec space for the arguments plus environment
passed to a new process.  Only the second one causes the error message
that started this thread, and previous posts have pointed out that
recent Linux kernels have effectively removed that limit (see message
from Jeremy Sanders).

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux