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 the default FFS type from FFSv2 to F...



details:   https://anonhg.NetBSD.org/src/rev/f656766b1852
branches:  trunk
changeset: 372462:f656766b1852
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Nov 30 15:57:54 2022 +0000

description:
Switch the default FFS type from FFSv2 to FFSv2ea - we want extended
attribute support to be exercised and tested.

If you want to share a new installed disk with older NetBSD
installations or (read only) with other OSes you need to explicitly set
the FS type to FFSv2 now.

diffstat:

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

diffs (39 lines):

diff -r 257dae38311d -r f656766b1852 usr.sbin/sysinst/bsddisklabel.c
--- a/usr.sbin/sysinst/bsddisklabel.c   Wed Nov 30 15:53:35 2022 +0000
+++ b/usr.sbin/sysinst/bsddisklabel.c   Wed Nov 30 15:57:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bsddisklabel.c,v 1.65 2022/11/30 15:53:35 martin Exp $ */
+/*     $NetBSD: bsddisklabel.c,v 1.66 2022/11/30 15:57:54 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;
@@ -1035,7 +1035,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