Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sysinst When requesting no special FS sub type, def...
details: https://anonhg.NetBSD.org/src/rev/bc6d9e637fa9
branches: trunk
changeset: 965011:bc6d9e637fa9
user: martin <martin%NetBSD.org@localhost>
date: Tue Aug 27 17:23:24 2019 +0000
description:
When requesting no special FS sub type, default to FAT32 with LBA.
Fixes one part of PR 54490.
diffstat:
usr.sbin/sysinst/mbr.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r e68d91f51462 -r bc6d9e637fa9 usr.sbin/sysinst/mbr.c
--- a/usr.sbin/sysinst/mbr.c Tue Aug 27 14:54:17 2019 +0000
+++ b/usr.sbin/sysinst/mbr.c Tue Aug 27 17:23:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbr.c,v 1.20 2019/08/14 13:02:23 martin Exp $ */
+/* $NetBSD: mbr.c,v 1.21 2019/08/27 17:23:24 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -1047,6 +1047,9 @@
case FS_EX2FS:
return &mbr_gen_type_desc[MBR_PTYPE_LNXEXT2].gen;
case FS_MSDOS:
+ if (sub_type == 0)
+ sub_type = MBR_PTYPE_FAT32L;
+
switch (sub_type) {
case MBR_PTYPE_FAT12:
case MBR_PTYPE_FAT16S:
Home |
Main Index |
Thread Index |
Old Index