cvs commit: src/sys/boot/i386/loader Makefile

John Baldwin jhb at FreeBSD.org
Wed Jun 1 09:51:26 PDT 2005


On Wednesday 01 June 2005 11:23 am, David O'Brien wrote:
> On Wed, Jun 01, 2005 at 11:13:25AM -0400, John Baldwin wrote:
> > On Wednesday 01 June 2005 10:28 am, David O'Brien wrote:
> > > On Wed, Jun 01, 2005 at 12:28:08AM +0300, Maxim Sobolev wrote:
> > > > David E. O'Brien wrote:
> > > > >  Modified files:
> > > > >    sys/boot/i386/loader Makefile
> > > > >  Log:
> > > > >  Put bzip2 support on equal footing with gzip support.
> > > > >  Enable bzip2 support by default, set LOADER_NO_BZIP2_SUPPORT to
> > > > >  disable it.
> > > >
> > > > This only increases the size of loader without any good reason.
> > > > Please stop making nonsense commits.
> > >
> > > And having gzip support on by default only increases the loader without
> > > any good reason.  We provide a feature rich environment.  The loader
> > > isn't at the brink of its size limit like boot0 is.  I put bzip2 on par
> > > with gzip support.  If this support bloats the loader too much, we
> > > should disable the gzip support then, not the bzip2 support - as you
> > > know bzip2 compresses better.
> >
> > We use gzip on the install CDs and install floppies.  This change made
> > the install floppy for i386 overflow. :)  We don't use bzip2 anywhere on
> > the install media.
>
> We should for 6.0, it gives better compression.  We could fit more on the
> floppy :-) which you've just stated we are up against the limits.

The floppies aren't up against their limits.  The deal is that on i386 we 
stick the entire mfsroot on the first floppy to minimize the number of 
floppies needed (currently 3).  We can always split the mfsroot up like we do 
the kernel but that requires at least one additional floppy.  Also, Maxim 
seems to be saying that bzip2fs is worthless on i386 anyway due to the memory 
overhead (install media use a stock loader with forth, etc.) so I'm not sure 
bzip2fs on the i386 loader is even worth it.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list