From owner-cvs-all Sun Nov 10 13: 9:43 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 EEB5537B401; Sun, 10 Nov 2002 13:09:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FB7A43E42; Sun, 10 Nov 2002 13:09:42 -0800 (PST) (envelope-from jake@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gAAL7TmV067733; Sun, 10 Nov 2002 13:07:29 -0800 (PST) (envelope-from jake@repoman.freebsd.org) Received: (from jake@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gAAL7TRc067732; Sun, 10 Nov 2002 13:07:29 -0800 (PST) Message-Id: <200211102107.gAAL7TRc067732@repoman.freebsd.org> From: Jake Burkholder Date: Sun, 10 Nov 2002 13:07:29 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libdisk write_sparc64_disk.c X-FreeBSD-CVS-Branch: HEAD 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 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