Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2011 09:33:53 +0000 (UTC)
From:      Bruce Cran <brucec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218841 - head/usr.sbin/sysinstall
Message-ID:  <201102190933.p1J9XrxY090720@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		    }
 		}
 	    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102190933.p1J9XrxY090720>