Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst For FS_MSDOS report the MBR type as fs_sub_...



details:   https://anonhg.NetBSD.org/src/rev/d8c03061a53d
branches:  trunk
changeset: 379082:d8c03061a53d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun May 09 10:37:49 2021 +0000

description:
For FS_MSDOS report the MBR type as fs_sub_type.

diffstat:

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

diffs (17 lines):

diff -r 56a4163b887f -r d8c03061a53d usr.sbin/sysinst/mbr.c
--- a/usr.sbin/sysinst/mbr.c    Sat May 08 19:36:28 2021 +0000
+++ b/usr.sbin/sysinst/mbr.c    Sun May 09 10:37:49 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.c,v 1.38 2021/01/31 22:45:46 rillig Exp $ */
+/*     $NetBSD: mbr.c,v 1.39 2021/05/09 10:37:49 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1400,6 +1400,7 @@ mbr_do_get_part_info(const struct disk_p
                case MBR_PTYPE_SPEEDSTOR_16S:
                case MBR_PTYPE_EFI:
                        info->fs_type = FS_MSDOS;
+                       info->fs_sub_type = mp->mbrp_type;
                        break;
                case MBR_PTYPE_LNXEXT2:
                        info->fs_type = FS_EX2FS;



Home | Main Index | Thread Index | Old Index