From owner-cvs-src@FreeBSD.ORG Sat Aug 7 01:19:55 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2569216A4CE; Sat, 7 Aug 2004 01:19:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DB6643D4C; Sat, 7 Aug 2004 01:19:55 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i771Jsvp037450; Sat, 7 Aug 2004 01:19:54 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i771JsQv037449; Sat, 7 Aug 2004 01:19:54 GMT (envelope-from marcel) Message-Id: <200408070119.i771JsQv037449@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 7 Aug 2004 01:19:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/sysinstall globals.c install.c label.c sysinstall.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2004 01:19:55 -0000 marcel 2004-08-07 01:19:54 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall globals.c install.c label.c sysinstall.h Log: o Save pointers to the chunks for root, home, swap, usr, var and tmp in global variables. On ia64, save a pointer to the efi chunk as well. o At the same time, change checkLabels() to define these globals instead of having the caller of checkLabels() pass addresses to variables for these. Change the two callers correspondingly. o Spent a bit more time adjusting try_auto_label() to prepate for having the EFI partition created on ia64. o Remove efi_mountpoint(). The EFI chunk is now available without having to iterate over the disks and chunks to find it every time we need it. o On ia64, now that the root chunk is globally available, set the vfs.root.mountfrom tunable in loader.conf. This avoids that one cannot boot into FreeBSD after an install. The kernel cannot find the root device without a little help... Revision Changes Path 1.27 +20 -0 src/usr.sbin/sysinstall/globals.c 1.358 +64 -98 src/usr.sbin/sysinstall/install.c 1.147 +52 -57 src/usr.sbin/sysinstall/label.c 1.260 +12 -1 src/usr.sbin/sysinstall/sysinstall.h