Date: Sun, 10 Nov 2002 13:07:29 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk write_sparc64_disk.c Message-ID: <200211102107.gAAL7TRc067732@repoman.freebsd.org>
index | next in thread | raw e-mail
jake 2002/11/10 13:07:29 PST
Modified files:
lib/libdisk write_sparc64_disk.c
Log:
Write the boot block to the first 16 sectors of all partitions, instead of
always to the first 16 sectors of the disk. The firmware reads the boot
code from a partition, defaulting to 'a' if none is specified, which only
corresponds to the first 16 sectors of the disk if 'a' is first. Solaris
often makes the swap partition first, instead of the root partition, and
users expect to be able to do the same with freebsd as well. This also
allows one to temporarily boot from another partition if the boot block
on the root partition gets scrambled somehow.
Revision Changes Path
1.5 +13 -12 src/lib/libdisk/write_sparc64_disk.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211102107.gAAL7TRc067732>
