From owner-freebsd-questions@FreeBSD.ORG Thu May 11 02:41:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12A2716A436 for ; Thu, 11 May 2006 02:41:10 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id C12DB43D45 for ; Thu, 11 May 2006 02:41:09 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id ACCA513C7E5; Wed, 10 May 2006 21:43:56 -0500 (CDT) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 7BECC13C7E3; Wed, 10 May 2006 21:43:56 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 7881313C404; Wed, 10 May 2006 21:43:56 -0500 (CDT) Date: Wed, 10 May 2006 21:43:56 -0500 (CDT) From: Philip Hallstrom To: Pablo Mora In-Reply-To: Message-ID: <20060510212545.B59324@bravo.pjkh.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org Subject: Re: limit bandwidth 'make fetch' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 02:41:42 -0000 > how i can limit bandwidth when i using 'make fetch' (make install in Ports)? I wrote a patch to fetch awhile back that does exactly this. That was with 4.x, but it might apply cleanly in 6. I ended up not using it, well cause once I had everything installed it didn't seem to matter so much. http://www.pjkh.com/~philip/fetch/ Basically it adds a "-L" option that takes the b/s to throttle it at... Then tweak um.. FETCH_ARGS or something close to that (man ports for info) to get the ports to pick it up automatically. -philip