Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 20:25:42 -0500
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Peter Wemm <peter@wemm.org>
Cc:        Poul-Henning Kamp <phk@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/boot/i386/boot2 Makefile boot1.s 
Message-ID:  <200212150125.gBF1Pgmi014338@green.bikeshed.org>
In-Reply-To: Your message of "Sat, 14 Dec 2002 16:52:15 PST." <20021215005215.2476D2A7EA@canning.wemm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Wemm <peter@wemm.org> wrote:
> Poul-Henning Kamp wrote:
> >   Modified files:
> >     sys/boot/i386/boot2  Makefile boot1.s 
> >   Log:
> >   Employ the unused bytes after the disklabel in the second sector.  This mak
>     es
> >   it possible to make UFS1_ONLY and UFS2_ONLY versions which fit inside the
> >   traditional 16 sectors.
> >   
> >   UFS1_AND_UFS2 still needs another 150 bytes to work, and that is probably
> >   not within our reach, ever.
> 
> That sounds like a challenge! :-)
> http://people.freebsd.org/~peter/boot2.diff
> 
> That is a WIP and COMPLETELY UNTESTED patch to turn on UFS1_AND_UFS2
> and it ends up with 7 bytes free.  I wouldn't install this on anything
> but a spare floppy disk yet.
> 
> I have a couple of nastier versions that have ~30+ bytes free but
> I'm pretty sure I broke the pathname lookups there.  And for that matter,
> I'm not even sure if -fomit-frame-pointer is compatable with -mrtd... If
> not, oh well. :-)

I don't think it's worth bothering trying to get it smaller, since the UFS2 
partitions have enough space for up to 64KB of boot code anyway.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org  <> bfeldman@tislabs.com      \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212150125.gBF1Pgmi014338>