From owner-freebsd-ports Sat Jun 2 3:40:32 2001 Delivered-To: freebsd-ports@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 4F74737B423 for ; Sat, 2 Jun 2001 03:40:27 -0700 (PDT) (envelope-from sobomax@mail-in.net) Received: from mail.uic-in.net (root@[212.35.189.4]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f52AeHB17205; Sat, 2 Jun 2001 13:40:24 +0300 (EEST) (envelope-from sobomax@mail-in.net) Received: from notebook.vega.com (das0-l46.uic-in.net [212.35.189.173]) by mail.uic-in.net (8.11.3/8.11.3) with ESMTP id f52AcXo50376; Sat, 2 Jun 2001 13:38:37 +0300 (EEST) (envelope-from sobomax@mail-in.net) Date: Sat, 2 Jun 2001 13:38:37 +0300 (EEST) Message-Id: <200106021038.f52AcXo50376@mail.uic-in.net> To: ernst@jollem.com, jdp@polstra.com Cc: ports@FreeBSD.ORG, trevor@jpj.net From: Maxim Sobolev Reply-To: sobomax@FreeBSD.ORG Subject: =?ISO-8859-1?Q?Re:_Supporting_pkg-plist.gz_=3F?= X-Mailer: Pygmy (v0.5.8) In-Reply-To: <20010601225706.A36653@c187104187.telekabel.chello.nl> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 1 Jun 2001 22:57:06 +0200, Ernst de Haan wrote: > Heya John, > > > That would be me. :-) I don't think it's worth pursuing, at least not > > for pkg-plist files. I looked at my ports tree, which is just a few > > days old. It contains 4894 pkg-plist files. Of those, 3479 (71%) > > can't be compressed at all. The reason is that their sizes are 1024 > > bytes or less. That is the default fragment size (smallest unit of > > allocation) in UFS filesystems, which means that any file from 1-1024 > > bytes in size will use the same amount of space on the disk. You > > could compress each of those files by a factor of 10 without freeing > > up a single block on your disk. > > > > The sum total of all the pkg-plist files is only 22 MB, which isn't > > worth walking around the corner to save. Megabytes ain't what they > > used to be, you know. :-) > > You're right :) > > Wow, 300K would be more than 1% of that ports tree then. JDK 1.2 is *really* > bloated, and it's getting worse, since JDK 1.3 and JDK 1.4 are each quite a > lot bigger than the previous versions! :-/ > > I guess I should indeed have the pkg-plist generated from the Makefile at > install time, as Trevor suggested. :) Actually we could save much more disk space by collapsing one-line pkg-comment files into either pkg-descr or Makefile [bikeshed pending]. This way we could free about 5MB (5,000 files * 1,024 bytes wasted per file) w/o any significant disadvantage. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message