Well. I've been wrong on this one. I'm afraid that the kernel has nothing to do with this.
The limit for find and xargs is hardcoded in lib/buildcmd.c in bc_use_sensible_arg_max and can be at build time. Here is the relevant part of the changelog and more details can be found in the README. 2007-07-31 Eric Blake <[EMAIL PROTECTED]> Allow choice of default arg size, Savannah bug #20594. * configure.ac (DEFAULT_ARG_SIZE): Check environment for a default size override. * lib/buildcmd.c (bc_use_sensible_arg_max): Use default size from configure, if requested. * README (DEFAULT_ARG_SIZE): Mention the ability to tune this at configure time. * NEWS: Document the change. I'm marking this report "confirmed" . ** Changed in: findutils (Ubuntu) Status: Invalid => Confirmed -- xargs complains command line is too long, but kernel allows command lines of arbitrary length https://bugs.launchpad.net/bugs/249937 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs