From owner-freebsd-stable Sun Nov 19 14: 2:57 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 1E8BD37B479 for ; Sun, 19 Nov 2000 14:02:54 -0800 (PST) Received: from billy-club.village.org (billy-club.village.org [10.0.0.3]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAJM2qQ19334; Sun, 19 Nov 2000 15:02:52 -0700 (MST) (envelope-from imp@billy-club.village.org) Received: from billy-club.village.org (localhost [127.0.0.1]) by billy-club.village.org (8.11.1/8.8.3) with ESMTP id eAJM2cG03593; Sun, 19 Nov 2000 15:02:38 -0700 (MST) Message-Id: <200011192202.eAJM2cG03593@billy-club.village.org> To: James Subject: Re: cd /usr/ports; make clean Cc: stable@FreeBSD.ORG In-reply-to: Your message of "Sat, 18 Nov 2000 23:16:33 PST." <20001118231633.A85206@evilcode.com> References: <20001118231633.A85206@evilcode.com> <200011190635.eAJ6ZRS94516@grumpy.dyndns.org> <20001118230305.A83848@evilcode.com> <20001119151138.A7434@bsdvm.jtjang.idv.tw> Date: Sun, 19 Nov 2000 15:02:38 -0700 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001118231633.A85206@evilcode.com> James writes: : If I understand it correctly, there is a limit to the maximum number : of command line arguments that a program can have. Yes, but unless you've built all the ports, you won't even come close to hitting that limit. There are 4200 ports, which is below the limit as far as counts go (which is 8192, iirc). You might hit the 64k total arg length limit. When I have a boatload of ports to delete, I use something like: find /usr/ports -name work -type d -prune | xargs rm -rf so that I don't exec too many times, but yet I don't overflow the argument size limits. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message