Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2001 22:57:06 +0200
From:      Ernst de Haan <ernst@jollem.com>
To:        John Polstra <jdp@polstra.com>
Cc:        ports@FreeBSD.ORG, Trevor Johnson <trevor@jpj.net>
Subject:   Re: Supporting pkg-plist.gz ?
Message-ID:  <20010601225706.A36653@c187104187.telekabel.chello.nl>
In-Reply-To: <200106012042.f51Kg1U29811@vashon.polstra.com>; from jdp@polstra.com on Fri, Jun 01, 2001 at 01:42:01PM -0700
References:  <Pine.BSF.4.21.0106011314060.51937-100000@sobek.openirc.co.uk> <200106012042.f51Kg1U29811@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. :)

/Ernst

-- 
Ernst de Haan
Java Architect
Jollem Information Technology

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ

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?20010601225706.A36653>