Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst We may try to extract the "last mounted on"...



details:   https://anonhg.NetBSD.org/src/rev/c8c3969ef583
branches:  trunk
changeset: 368416:c8c3969ef583
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jul 10 12:49:05 2022 +0000

description:
We may try to extract the "last mounted on" field from EFI partitions
too.

diffstat:

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

diffs (19 lines):

diff -r 10a46af4aadc -r c8c3969ef583 usr.sbin/sysinst/mbr.c
--- a/usr.sbin/sysinst/mbr.c    Sun Jul 10 12:32:31 2022 +0000
+++ b/usr.sbin/sysinst/mbr.c    Sun Jul 10 12:49:05 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.c,v 1.45 2022/06/11 15:41:19 martin Exp $ */
+/*     $NetBSD: mbr.c,v 1.46 2022/07/10 12:49:05 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -617,7 +617,8 @@
                                    mbrp->mbrp_type == MBR_PTYPE_FAT16B ||
                                    mbrp->mbrp_type == MBR_PTYPE_FAT32 ||
                                    mbrp->mbrp_type == MBR_PTYPE_FAT32L ||
-                                   mbrp->mbrp_type == MBR_PTYPE_FAT16L)
+                                   mbrp->mbrp_type == MBR_PTYPE_FAT16L ||
+                                   mbrp->mbrp_type == MBR_PTYPE_EFI)
                                        flags |= GLM_MAYBE_FAT32;
                                else if (mbrp->mbrp_type == MBR_PTYPE_NTFS)
                                        flags |= GLM_MAYBE_NTFS;



Home | Main Index | Thread Index | Old Index