Module Name:    src
Committed By:   martin
Date:           Fri Dec 16 19:49:13 UTC 2022

Modified Files:
        src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Switch back to FFSv2ea as default for new installations


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/bsddisklabel.c
diff -u src/usr.sbin/sysinst/bsddisklabel.c:1.69 src/usr.sbin/sysinst/bsddisklabel.c:1.70
--- src/usr.sbin/sysinst/bsddisklabel.c:1.69	Thu Dec 15 15:32:04 2022
+++ src/usr.sbin/sysinst/bsddisklabel.c	Fri Dec 16 19:49:13 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: bsddisklabel.c,v 1.69 2022/12/15 15:32:04 martin Exp $	*/
+/*	$NetBSD: bsddisklabel.c,v 1.70 2022/12/16 19:49:13 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -144,9 +144,9 @@ default_parts_init[] =
 	  .flags = PUIFLG_JUST_MOUNTPOINT },
 #endif
 	{ .def_size = DEFUSRSIZE*(MEG/512), .mount = "/usr", .type = PT_root,
-	  .fs_type = FS_BSDFFS, .fs_version = 2 },
+	  .fs_type = FS_BSDFFS, .fs_version = 3 },
 	{ .def_size = DEFVARSIZE*(MEG/512), .mount = "/var", .type = PT_root,
-	  .fs_type = FS_BSDFFS, .fs_version = 2 },
+	  .fs_type = FS_BSDFFS, .fs_version = 3 },
 };
 
 static const char size_separator[] =
@@ -366,7 +366,7 @@ add_other_ptn_size(menudesc *menu, void 
 	p->cur_part_id = NO_PART;
 	p->type = PT_root;
 	p->fs_type = FS_BSDFFS;
-	p->fs_version = 2;
+	p->fs_version = 3;
 	strncpy(p->mount, new_mp, sizeof(p->mount));
 
 	menu->cursel = pset->num;
@@ -1052,7 +1052,7 @@ fill_defaults(struct partition_usage_set
 #ifndef HAVE_UFS2_BOOT
 				if (boot < wanted->num || i != root)
 #endif
-					wanted->infos[i].fs_version = 2;
+					wanted->infos[i].fs_version = 3;
 #endif
 			}
 		}

Reply via email to