summaryrefslogtreecommitdiffstats
path: root/src/partmac.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-06-30 08:03:29 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-06-30 08:03:29 +0200
commita6b2bcfb7a85a16e3e05106cf862a7c0c19242e5 (patch)
tree0a1b5fcdada10a8de0a2450e5f71cfe3865c7ed4 /src/partmac.c
parent189f2a52da7ee6a8d2373ddb7a8c66280fff874f (diff)
Mac partition table, don't forget to list FAT32
Diffstat (limited to 'src/partmac.c')
-rw-r--r--src/partmac.c33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/partmac.c b/src/partmac.c
index 5dac0c9..a67f06d 100644
--- a/src/partmac.c
+++ b/src/partmac.c
@@ -68,22 +68,23 @@ static const char *get_partition_typename_mac_aux(const unsigned int part_type_m
static unsigned int get_part_type_mac(const partition_t *partition);
static const struct systypes mac_sys_types[] = {
- { PMAC_DRIVER43, "Driver43" },
- { PMAC_DRIVERATA, "Driver_ATA" },
- { PMAC_DRIVERIO, "Driver_IOKit" },
- { PMAC_FREE, "Free" },
- { PMAC_FWDRIVER, "FWDriver" },
- { PMAC_SWAP, "Swap" },
- { PMAC_LINUX, "Linux" },
- { PMAC_HFS, "HFS" },
- { PMAC_MAP, "partition_map" },
- { PMAC_PATCHES, "Patches" },
- { PMAC_UNK, "Unknown" },
- { PMAC_NewWorld, "NewWorld" },
- { PMAC_DRIVER, "Driver" },
- { PMAC_MFS, "MFS" },
- { PMAC_PRODOS, "ProDOS" },
- { PMAC_UNK, NULL }
+ { PMAC_DRIVER43, "Driver43" },
+ { PMAC_DRIVERATA, "Driver_ATA" },
+ { PMAC_DRIVERIO, "Driver_IOKit" },
+ { PMAC_FREE, "Free" },
+ { PMAC_FWDRIVER, "FWDriver" },
+ { PMAC_SWAP, "Swap" },
+ { PMAC_LINUX, "Linux" },
+ { PMAC_HFS, "HFS" },
+ { PMAC_MAP, "partition_map" },
+ { PMAC_PATCHES, "Patches" },
+ { PMAC_UNK, "Unknown" },
+ { PMAC_NewWorld, "NewWorld" },
+ { PMAC_DRIVER, "Driver" },
+ { PMAC_MFS, "MFS" },
+ { PMAC_PRODOS, "ProDOS" },
+ { PMAC_FAT32, "DOS_FAT_32" },
+ { PMAC_UNK, NULL }
};
arch_fnct_t arch_mac=