From owner-freebsd-stable Mon Nov 20 5:51:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 3685037B479 for ; Mon, 20 Nov 2000 05:51:12 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id FAA13926; Mon, 20 Nov 2000 05:50:34 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda13924; Mon Nov 20 05:50:23 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.1/8.9.1) id eAKDoIM12299; Mon, 20 Nov 2000 05:50:18 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdT12288; Mon Nov 20 05:49:34 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.1/8.9.1) id eAKDnUR68625; Mon, 20 Nov 2000 05:49:30 -0800 (PST) Message-Id: <200011201349.eAKDnUR68625@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdm68620; Mon Nov 20 05:48:57 2000 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.1.1-RELEASE X-Sender: cy To: Matt Dillon Cc: Warner Losh , James , stable@FreeBSD.ORG Subject: Re: cd /usr/ports; make clean In-reply-to: Your message of "Sun, 19 Nov 2000 14:39:13 PST." <200011192239.eAJMdDa90818@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 20 Nov 2000 05:48:57 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200011192239.eAJMdDa90818@earth.backplane.com>, Matt Dillon writes: > > :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 > > Since I export /usr/ports read-only, I never put my work directories > in the ports hierarchy itself. I set /etc/make.conf to: > > WRKDIRPREFIX= /var/tmp > > Or something similar, then simply 'rm -rf /var/tmp/usr' when it gets > full or I want to clean it out. (I have a big /var/tmp to accomodate it, > but there is nothing preventing you from creating a directory in /usr > to hold the workdirs either). This is an excellent idea. Could we make this the default? Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message