Skip site navigation (1)Skip section navigation (2)
Date:      22 Mar 2000 12:36:36 -0800
From:      asami@freebsd.org (Satoshi - Ports Wraith - Asami)
To:        Nik Clayton <nik@freebsd.org>
Cc:        Kris Kennaway <kris@freebsd.org>, ports@freebsd.org
Subject:   Re: Feature request:  Store dist file size somewhere
Message-ID:  <vqcr9d2spwr.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Nik Clayton's message of "Wed, 22 Mar 2000 20:15:03 %2B0000"
References:  <Pine.BSF.4.21.0003211840440.84343-100000@freefall.freebsd.org> <vqcln3bu2hw.fsf@silvia.hip.berkeley.edu> <20000322084226.A70194@catkin.nothing-going-on.org> <vqc4s9yu6xx.fsf@silvia.hip.berkeley.edu> <20000322201502.A43966@catkin.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 * From: Nik Clayton <nik@freebsd.org>

 * Ah ha.  That's more like it.  Of course:
 * 
 *     % make check-size
 *     foo-1.2      369,638
 *     bar-3.0       27,224
 *     baz-0.8    1,228,846
 * 
 *     Total:     1,625,708
 * 
 * might have prevented the mind numbing tedium of downloading linux_base
 * over a 33.6 connection :-)

Sure, we can add something like that too.

 * Is files/md5 the best place to put it?  I was thinking something like
 * files/size, which would either be
 * 
 *    1.  The total size of all the distfiles that make up the port, or
 * 
 *    2.  The size of all the distfiles (distfile\tsize or similar)
 * 
 * That way you don't need to do anything to md5(1).

Err, before Richard has a heart attack.  files/md5 *is* the right
place to put these stuff.  If we add another file, that's 3,000 more
small files, meaning 3,000 more i-nodes and 3,000 more disk fragments
in the ports tree.

We don't need to do anything to md5(1).  The size can be calculated
without using md5 (think "ls" :).

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcr9d2spwr.fsf>