MAX_ARG_PAGES

Alan Willis (alan@cotse.net)
Tue, 19 Nov 2002 20:22:24 -0500 (EST)


Recently I had a user who needed to remove 17k files all at once and
received the message 'rm: Argument list too long'. In his case an rm
-rf on the directory itself solved his problem, but after a quick web
search, it seems that the value of MAX_ARG_PAGES in
include/linux/binfmts.h (32) is responsible for this limitation. Could
this value possibly be increased safely? I'm curious, is there some
other limitation that has been breached in the 2.5 series that would
make it safer to increase MAX_ARG_PAGES?

-alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/