Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Always map FS_BSDFFS to one of "FFS", "FFSv...



details:   https://anonhg.NetBSD.org/src/rev/4418ba4931d5
branches:  trunk
changeset: 372580:4418ba4931d5
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Dec 10 16:52:02 2022 +0000

description:
Always map FS_BSDFFS to one of "FFS", "FFSv2" or "FFSv2ea" - previously
the disklabel name "4.2BSD" could show up initially but we could never
go back to it via the menu used to change the file system type.
This was confusing.

diffstat:

 usr.sbin/sysinst/disks.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f3f0cd63608b -r 4418ba4931d5 usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Sat Dec 10 16:34:37 2022 +0000
+++ b/usr.sbin/sysinst/disks.c  Sat Dec 10 16:52:02 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.92 2022/11/30 19:44:06 martin Exp $ */
+/*     $NetBSD: disks.c,v 1.93 2022/12/10 16:52:02 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -114,7 +114,7 @@
                return "mfs";
        else if (f == FS_EFI_SP)
                return msg_string(MSG_fs_type_efi_sp);
-       else if (f == FS_BSDFFS && f_version > 0) {
+       else if (f == FS_BSDFFS) {
                switch (f_version) {
                default:
                case 1: return msg_string(MSG_fs_type_ffs);



Home | Main Index | Thread Index | Old Index