Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 1998 20:51:05 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        mike@smith.net.au (Mike Smith)
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Bootblock sizes (was bad144 ravings)
Message-ID:  <199802081951.UAA13052@labinfo.iet.unipi.it>
In-Reply-To: <199802072254.OAA07140@dingo.cdrom.com> from "Mike Smith" at Feb 7, 98 02:54:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Ok, just to put some perspective on things, so that people understand 
> the situation.
> 
> The issue at hand here is the size of the 'boot2' file, which may not 
> exceed 14 sectors @ 512B each (in order to fit on a 15spt disk), or 
> 7168 bytes.
> 
> Let us look at some sizes (in bytes).  The 'Bare' bootblock has serial 
> console support, but nothing else fancy.  
> 
> Config			Size		Feature bulk
> ------			----		------------
> Bare			6560		0 (room for 608 bytes)

is this /usr/mdec/boot2 ? In which case, why (on 2.2.1 at least) the
first 512 bytes are all zero ?

(for the records, I was playing these days with simple compression
algorithms, like the "pred.c" in iijppp, or some other simple things
(so that the code to uncompress is reasonably small) but the savings
are not big (perhaps 100 bytes, including the extractor overhead). This
excludes the first 512 zeros, which probably can be easily ripped off ?

	cheers
	luigi

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



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