From owner-cvs-all Sat Dec 14 17:25:50 2002 Delivered-To: cvs-all@freebsd.org Received: from green.bikeshed.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 948E237B401; Sat, 14 Dec 2002 17:25:48 -0800 (PST) Received: from green.bikeshed.org (073xnpnc01v1dxy2@green.bikeshed.org [10.0.0.1] (may be forged)) by green.bikeshed.org (8.12.6/8.12.6) with ESMTP id gBF1PmOa014342; Sat, 14 Dec 2002 20:25:48 -0500 (EST) (envelope-from green@green.bikeshed.org) Received: from localhost (green@localhost) by green.bikeshed.org (8.12.6/8.12.6/Submit) with ESMTP id gBF1Pgmi014338; Sat, 14 Dec 2002 20:25:48 -0500 (EST) Message-Id: <200212150125.gBF1Pgmi014338@green.bikeshed.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Peter Wemm Cc: Poul-Henning Kamp , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 Makefile boot1.s In-Reply-To: Your message of "Sat, 14 Dec 2002 16:52:15 PST." <20021215005215.2476D2A7EA@canning.wemm.org> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Dec 2002 20:25:42 -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm 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