From owner-freebsd-current Mon Apr 24 9: 7:25 2000 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 7BE2337BB13 for ; Mon, 24 Apr 2000 09:07:21 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id JAA04030; Mon, 24 Apr 2000 09:06:26 -0700 Date: Mon, 24 Apr 2000 09:07:08 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Garrett Wollman Cc: Bruce Evans , current@FreeBSD.ORG Subject: Re: asm_pci.h,v Holy cow! In-Reply-To: <200004241536.LAA33905@khavrinen.lcs.mit.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is probably an okay idea, except how would you include such files? I'm not sure I follow your naming scheme in /usr/firmware- what's wrong with /usr/src/sys/dev/firmware/{isp, esh, ...}? On Mon, 24 Apr 2000, Garrett Wollman wrote: > < said: > > > This seems to be inherent in the file format. Binary data is expanded > > by a factor of 4 due to encoding it as a C array. Even tiny changes > > in the data ripple through the array and give huge diffs. Uuencoding > > the data would only expand it by a factor of 1.4 although it would > > have the same problem with the diffs. > > I've been thinking about this recently myself. We want to maintain > the ability to examine historical versions of the code, but actual > diffs from one version to another are, in this context, meaningless. > > I'd like to suggest a new hierarchy /usr/firmware, which sits > along-side /usr/src and /usr/ports in our distribution mechanism, but > which does not use RCS files to store version information. Rather, > the version information is encoded in the pathname, and files are > stored and transferred as binary objects. It might look something > like this: > > /usr/firmware/ > gronk/ (this is the gronk driver) > 3.57.OA.bin (where 3.57.OA is vendor's version) > plugh/ > 42.69/ > model1.bin > model2.bin > model3.bin > > -GAWollman > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message