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.
This commit is contained in:
parent
c6fbd2016e
commit
1903fd9f69
|
@ -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 *arg)
|
|||
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 *wanted, struct disk_partitions *parts,
|
|||
#ifndef HAVE_UFS2_BOOT
|
||||
if (boot < wanted->num || i != root)
|
||||
#endif
|
||||
wanted->infos[i].fs_version = 2;
|
||||
wanted->infos[i].fs_version = 3;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue