From owner-freebsd-ports Wed Mar 22 14:19:51 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id 32B4037C2DF; Wed, 22 Mar 2000 14:19:48 -0800 (PST) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com (02-047.dial.008.popsite.net [209.69.194.47] (may be forged)) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id OAA19735; Wed, 22 Mar 2000 14:19:40 -0800 (PST) Received: by argon.blackdawn.com (Postfix, from userid 1000) id AD75618E4; Wed, 22 Mar 2000 17:18:49 -0500 (EST) Date: Wed, 22 Mar 2000 17:18:49 -0500 From: Will Andrews To: Satoshi - Ports Wraith - Asami Cc: Nik Clayton , Kris Kennaway , ports@FreeBSD.ORG Subject: Re: Feature request: Store dist file size somewhere Message-ID: <20000322171849.A378@argon.blackdawn.com> References: <20000322084226.A70194@catkin.nothing-going-on.org> <20000322201502.A43966@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from asami@FreeBSD.ORG on Wed, Mar 22, 2000 at 12:36:36PM -0800 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 22, 2000 at 12:36:36PM -0800, Satoshi - Ports Wraith - Asami wrote: > 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" :). <2 5004-0> (00-03-22 17:16:38) [will@shadow ~]% cksum icqnix 4248575454 1095 icqnix <2 5005-0> (00-03-22 17:16:42) [will@shadow ~]% ll icqnix -rw-r--r-- 1 will will 1095 Mar 21 22:03 icqnix thus ${CKSUM} | ${AWK} '{print $2}' >> ${FILESDIR}/md5 I wouldn't trust /bin/ls if I were you, some folks might (ignorantly) install their own version in /bin instead of /usr/local/bin. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message