Module Name: src Committed By: martin Date: Sun Jul 10 12:49:05 UTC 2022
Modified Files: src/usr.sbin/sysinst: mbr.c Log Message: We may try to extract the "last mounted on" field from EFI partitions too. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.sbin/sysinst/mbr.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/mbr.c diff -u src/usr.sbin/sysinst/mbr.c:1.45 src/usr.sbin/sysinst/mbr.c:1.46 --- src/usr.sbin/sysinst/mbr.c:1.45 Sat Jun 11 15:41:19 2022 +++ src/usr.sbin/sysinst/mbr.c Sun Jul 10 12:49:05 2022 @@ -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 @@ read_mbr(const char *disk, size_t secsiz 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;