From owner-cvs-all Sat Dec 14 16:52:20 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C9F937B401; Sat, 14 Dec 2002 16:52:19 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D60E43EA9; Sat, 14 Dec 2002 16:52:19 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 2476D2A7EA; Sat, 14 Dec 2002 16:52:15 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/i386/boot2 Makefile boot1.s In-Reply-To: <200212141944.gBEJiDWS027256@repoman.freebsd.org> Date: Sat, 14 Dec 2002 16:52:15 -0800 From: Peter Wemm Message-Id: <20021215005215.2476D2A7EA@canning.wemm.org> 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 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. :-) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message