Module Name: src Committed By: martin Date: Wed Nov 30 15:57:54 UTC 2022
Modified Files: src/usr.sbin/sysinst: bsddisklabel.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 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.65 src/usr.sbin/sysinst/bsddisklabel.c:1.66 --- src/usr.sbin/sysinst/bsddisklabel.c:1.65 Wed Nov 30 15:53:35 2022 +++ src/usr.sbin/sysinst/bsddisklabel.c Wed Nov 30 15:57:54 2022 @@ -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 @@ 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; @@ -1035,7 +1035,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 } }