MAX_ARG_PAGES

Russell Kaiser russell.kaiser at gmail.com
Mon Jan 3 10:11:04 UTC 2005


I have hit this problem before when doing "rm *" in a directory with
lots and lots of files.  The way to get around this problem when
deleting a large number of files like that is to use the xargs command
with rm.  Here are a few examples of this.  Google xargs with rm and
you will see a few others:

http://freebooks.by.ru/view/ShellProgIn24h/31480122.htm

http://www.linuxjournal.com/article/6060

This doesn't address what you are trying to do in the kernel, but is
one solution to your argument list too long issue.

-- 
Russell Kaiser
Russell.Kaiser at gmail.com




More information about the fedora-list mailing list