atom feed27 messages in org.freebsd.freebsd-stableRe: *HEADS UP* Correction to previous...
FromSent OnAttachments
Mike SmithMar 9, 1998 12:52 am 
Bruce EvansMar 9, 1998 2:19 am 
Gary SchrockMar 9, 1998 11:16 am 
Bruce M. WalterMar 9, 1998 1:58 pm 
Mike SmithMar 9, 1998 2:10 pm 
Bruce EvansMar 9, 1998 6:01 pm 
Mike SmithMar 9, 1998 6:55 pm 
Bruce EvansMar 9, 1998 7:42 pm 
Joao Carlos Mendes LuisMar 9, 1998 8:37 pm 
Bruce EvansMar 9, 1998 9:17 pm 
Luoqi ChenMar 10, 1998 12:27 am 
Bruce EvansMar 10, 1998 2:00 am 
Mike SmithMar 11, 1998 3:24 am 
Gary SchrockMar 11, 1998 9:47 am 
David E. O'BrienMar 13, 1998 6:50 pm 
Bruce EvansMar 13, 1998 8:36 pm 
David E. TwetenMar 13, 1998 9:16 pm 
Mike SmithMar 13, 1998 10:40 pm 
David E. O'BrienMar 13, 1998 10:55 pm 
Mike SmithMar 13, 1998 11:10 pm 
Bruce EvansMar 13, 1998 11:15 pm 
Dmitrij TejblumMar 14, 1998 8:23 am 
Dmitrij TejblumMar 14, 1998 8:24 am 
Dmitrij TejblumMar 14, 1998 8:25 am 
Dmitrij TejblumMar 14, 1998 9:59 am 
Bruce EvansMar 14, 1998 7:08 pm 
Dmitrij TejblumMar 15, 1998 2:00 am 
Subject:Re: *HEADS UP* Correction to previous postings.
From:Bruce Evans (bd@zeta.org.au)
Date:Mar 10, 1998 2:00:07 am
List:org.freebsd.freebsd-stable

Summary of the 3 cases where the whole disk is used for FreeBSD:

Partition table config Slice# passed by bootblocks Slice# to use for "/" ---------------------- --------------------------- ------------------------- Signature != 0xAA55 WHOLE_DISK_SLICE (= 1) COMPATIBILITY_SLICE (= 0) Historical invalid BASE_SLICE + 3 (= 5) COMPATIBILITY_SLICE (= 0) "Valid" (1 big part.) BASE_SLICE + N (0 <= N < 4) BASE_SLICE + N

I managed to modify boot2 so I was able to boot with -r1.87 autoconf.c from my dedicated disk (historical invalid). My solution was to leave slice to be WHOLE_DISK_SLICE for a BSD partition starts at sector 0 (this would bloat boot2 by two bytes: a je rel8).

This test would misdetect case 3 as dedicated (which may be best :-) and would also misdetect cases where there are multiple nonempty partitions with the first BSD one starting at sector 0. For complete compatility with the kernel, the boot blocks would have to do a bcmp() of the historical table with the actual table. This takes 0x40 bytes for the table and about 0x20 bytes for the test. I don't think this can be compressed much.

Bruce

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message