Limitations on a command line

David Collier from_busybox_maillist at dexdyne.com
Fri Jan 28 18:26:00 UTC 2011


Is there any explicit limit on the size of command like busybox can swing
round it's head?

I have some rubbish code I've inherited and don't have time to rewrite,
which can spit out

   tar file1 file2 file3.... 
   
where each of the file names is up to 100 chars, and there could be up to
2000 of them in theory.

I can change the limits to keep it all under 64 k or whatever... but is
there a magic number even smaller than that I should beware of?

A MOMENT LATER

I think I can tame this by suitable use of relative paths, but I'd still
be interested to know

D


More information about the busybox mailing list