Source-Changes-HG archive

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

[src/trunk]: src/sbin/gpt add some more FAT file system types



details:   https://anonhg.NetBSD.org/src/rev/d0176a3be90b
branches:  trunk
changeset: 839666:d0176a3be90b
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Sun Mar 03 02:28:14 2019 +0000

description:
add some more FAT file system types

diffstat:

 sbin/gpt/migrate.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 2b394e33cf83 -r d0176a3be90b sbin/gpt/migrate.c
--- a/sbin/gpt/migrate.c        Sun Mar 03 02:21:07 2019 +0000
+++ b/sbin/gpt/migrate.c        Sun Mar 03 02:28:14 2019 +0000
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD: src/sbin/gpt/migrate.c,v 1.16 2005/09/01 02:42:52 marcel Exp $");
 #endif
 #ifdef __RCSID
-__RCSID("$NetBSD: migrate.c,v 1.34 2019/02/10 10:35:51 martin Exp $");
+__RCSID("$NetBSD: migrate.c,v 1.35 2019/03/03 02:28:14 jnemeth Exp $");
 #endif
 
 #include <sys/types.h>
@@ -289,13 +289,20 @@
                        type = GPT_TYPE_EFI;
                        break;
 
-               case MBR_PTYPE_NTFS:
                case MBR_PTYPE_FAT12:
                case MBR_PTYPE_FAT16S:
                case MBR_PTYPE_FAT16B:
+               case MBR_PTYPE_NTFS:
                case MBR_PTYPE_FAT32:
                case MBR_PTYPE_FAT32L:
                case MBR_PTYPE_FAT16L:
+               case MBR_PTYPE_OS2_DOS12:
+               case MBR_PTYPE_OS2_DOS16S:
+               case MBR_PTYPE_OS2_DOS16B:
+               case MBR_PTYPE_OS2_IFS:
+               case MBR_PTYPE_HID_FAT32:
+               case MBR_PTYPE_HID_FAT32_LBA:
+               case MBR_PTYPE_HID_FAT16_LBA:
                        type = GPT_TYPE_MS_BASIC_DATA;
                        break;
 



Home | Main Index | Thread Index | Old Index