svn commit: r218954 - stable/8/usr.sbin/sysinstall

Bruce Cran brucec at FreeBSD.org
Tue Feb 22 17:40:19 UTC 2011


Author: brucec
Date: Tue Feb 22 17:40:18 2011
New Revision: 218954
URL: http://svn.freebsd.org/changeset/base/218954

Log:
  MFC r218841:
  
  Allow users to create ufs1 filesystems via the noninteractive install.cfg
  system.
  
  PR:           bin/113979

Modified:
  stable/8/usr.sbin/sysinstall/label.c
Directory Properties:
  stable/8/usr.sbin/sysinstall/   (props changed)

Modified: stable/8/usr.sbin/sysinstall/label.c
==============================================================================
--- stable/8/usr.sbin/sysinstall/label.c	Tue Feb 22 17:38:43 2011	(r218953)
+++ stable/8/usr.sbin/sysinstall/label.c	Tue Feb 22 17:40:18 2011	(r218954)
@@ -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-all mailing list