* Nick Matteo <[EMAIL PROTECTED]> wrote: > The other day I was running a grep on a big directory tree and got a > "Argument list too long" error. Since I'd like to have this work > without messing with find and xargs each time, I went into > include/linux/binfmts.h and changed > > #define MAX_ARG_PAGES 32 > > to > > #define MAX_ARG_PAGES 64 > > I recompiled and installed the kernel, but there's no change (getconf > ARG_MAX still gives 131072.) What am I missing?
MAX_ARG_PAGES should work just fine. I think the 'getconf ARG_MAX' output is hardcoded. (because the kernel does not provide the information dynamically) Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/