Date: Thu, 3 Dec 1998 21:09:35 +0100 From: Andreas Klemm <andreas@klemm.gtn.com> To: Martin Cracauer <cracauer@cons.org>, current@FreeBSD.ORG Subject: Re: Proposed addition to fetch(1) Message-ID: <19981203210935.A16110@klemm.gtn.com> In-Reply-To: <19981203200743.A861@cons.org>; from Martin Cracauer on Thu, Dec 03, 1998 at 08:07:43PM %2B0100 References: <19981203200743.A861@cons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 03, 1998 at 08:07:43PM +0100, Martin Cracauer wrote: > I plan to add this to fetch, unless anyone objects. > > -s Ask server for size of file in bytes and print it to stdout. > Do not actually fetch the file. > > Actual diff appended. > > I plan to use it for a `make fetchsize` target for ports, so that you > can ask how much traffic you would cause before actually starting the > fetch. What about the possibility of setting an environment variable FETCH_MAX=3000 where 3000 = 3000 KByte = 3 MByte Setting this variable in /etc/make.conf and fiddeling around in bsd.port.mk could add a nice functionality ... -- Andreas Klemm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981203210935.A16110>