svn commit: r218841 - head/usr.sbin/sysinstall

Bruce Cran brucec at FreeBSD.org
Sat Feb 19 09:33:53 UTC 2011


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;
 		    }
 		}
 	    }


More information about the svn-src-head mailing list