Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Switch back to FFSv2ea as default for new i...



details:   https://anonhg.NetBSD.org/src/rev/a6e483d393e6
branches:  trunk
changeset: 372659:a6e483d393e6
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Dec 16 19:49:13 2022 +0000

description:
Switch back to FFSv2ea as default for new installations

diffstat:

 usr.sbin/sysinst/bsddisklabel.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 44ea38a9d7ec -r a6e483d393e6 usr.sbin/sysinst/bsddisklabel.c
--- a/usr.sbin/sysinst/bsddisklabel.c   Fri Dec 16 17:38:56 2022 +0000
+++ b/usr.sbin/sysinst/bsddisklabel.c   Fri Dec 16 19:49:13 2022 +0000
@@ -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 @@
          .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 @@
        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 @@
 #ifndef HAVE_UFS2_BOOT
                                if (boot < wanted->num || i != root)
 #endif
-                                       wanted->infos[i].fs_version = 2;
+                                       wanted->infos[i].fs_version = 3;
 #endif
                        }
                }



Home | Main Index | Thread Index | Old Index