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;
                    }
                }
            }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to