From owner-svn-src-head@FreeBSD.ORG Sat Feb 19 09:33:53 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C9F7106564A; Sat, 19 Feb 2011 09:33:53 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C4048FC13; Sat, 19 Feb 2011 09:33:53 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id p1J9Xrbs090722; Sat, 19 Feb 2011 09:33:53 GMT (envelope-from brucec@svn.freebsd.org) Received: (from brucec@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id p1J9XrxY090720; Sat, 19 Feb 2011 09:33:53 GMT (envelope-from brucec@svn.freebsd.org) Message-Id: <201102190933.p1J9XrxY090720@svn.freebsd.org> From: Bruce Cran Date: Sat, 19 Feb 2011 09:33:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r218841 - head/usr.sbin/sysinstall X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 09:33:53 -0000 Author: brucec Date: Sat Feb 19 09:33:53 2011 New Revision: 218841 URL: http://svn.freebsd.org/changeset/base/218841 Log: Allow users to create ufs1 filesystems via the noninteractive install.cfg system. PR: bin/113979 MFC after: 3 days Modified: head/usr.sbin/sysinstall/label.c Modified: head/usr.sbin/sysinstall/label.c ============================================================================== --- head/usr.sbin/sysinstall/label.c Sat Feb 19 09:24:24 2011 (r218840) +++ head/usr.sbin/sysinstall/label.c Sat Feb 19 09:33:53 2011 (r218841) @@ -1653,6 +1653,8 @@ diskLabelNonInteractive(Device *dev) pi = tmp->private_data = new_part(PART_FILESYSTEM, mpoint, TRUE); tmp->private_free = safe_free; pi->newfs_data.newfs_ufs.softupdates = soft; + if (!strcmp(typ, "ufs1")) + pi->newfs_data.newfs_ufs.ufs1 = TRUE; } } }