Re: 2.3.51

From: Daniel A. Nobuto (ramune@earthlink.net)
Date: Sun Mar 12 2000 - 16:13:53 EST


Hi all,

> I have to admit to having seen no discussion about this prior to
> this email. However, one obvious fix presents itself to my eyes:
> Insert "--max-lines=1000" between "xargs" and "rm" in the
> relevant command line(s).

Hmm... xargs -s <max rm command-line size> is probably more portable, as
--max-lines requires GNU xargs, which makes building Linux on another platform
a bit harder (i.e. when 1st porting, or for Mastodon :-)

Yet another patch (should have looked at the xargs man page before sending the
previous patch. Oh well :-)

--- Makefile.old Sun Mar 12 13:12:42 2000
+++ Makefile Sun Mar 12 13:12:33 2000
@@ -437,7 +437,7 @@
 
 clean: archclean
         rm -f kernel/ksyms.lst include/linux/compile.h
- find . -name '*.[oas]' -type f -print | grep -v lxdialog/ | xargs rm -f
+ find . -name '*.[oas]' -type f -print | grep -v lxdialog/ | xargs -s 131072 rm -f
         rm -f core `find . -type f -name 'core' -print`
         rm -f core `find . -type f -name '.*.flags' -print`
         rm -f vmlinux System.map

-- DN
Daniel

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



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:22 EST