From owner-cvs-all@FreeBSD.ORG Wed Aug 4 05:40:16 2004 Return-Path: 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 686EE16A4CE; Wed, 4 Aug 2004 05:40:16 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F9F443D5C; Wed, 4 Aug 2004 05:40:16 +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 i745eGDN009424; Wed, 4 Aug 2004 05:40:16 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i745eGrq009423; Wed, 4 Aug 2004 05:40:16 GMT (envelope-from marcel) Message-Id: <200408040540.i745eGrq009423@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 4 Aug 2004 05:40:16 +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 label.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 05:40:16 -0000 marcel 2004-08-04 05:40:15 UTC FreeBSD src repository Modified files: usr.sbin/sysinstall label.c Log: Pass the partition type to get_mountpoint() and new_part(). This way we'll actually create an EFI partition with a FAT file system instead of an UFS file system. It also allows us to give a sensible default mount point for EFI partitions so that people don't have to guess. This also means that we can now remove new_efi_part(), which did the same thing as new_part(), except it created a FAT file system. The function wasn't called when the EFI partition was created from scratch though, which was the problem. By passing the partition type to the various functions, we can deal with EFI without having to duplicate code. Revision Changes Path 1.146 +29 -61 src/usr.sbin/sysinstall/label.c