summaryrefslogtreecommitdiffstats
path: root/src/adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-12-24 15:24:36 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2017-12-24 15:24:36 +0100
commit291fec31472be0cedb96f5c3fbc9af96af80d1d5 (patch)
treea456a779bdf672076bcb7eaa067e1c62dfb75a7e /src/adv.c
parentb3637b25c9657e574a8abe39e18b42b6b6d6a9e6 (diff)
Add Windows Recovery, Linux /home, /src and data EFI uuid partition type
Diffstat (limited to 'src/adv.c')
-rw-r--r--src/adv.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/adv.c b/src/adv.c
index 802fd58..0a6e693 100644
--- a/src/adv.c
+++ b/src/adv.c
@@ -156,10 +156,13 @@ int is_part_linux(const partition_t *partition)
return 1;
if(partition->arch==&arch_mac && partition->part_type_mac==PMAC_LINUX)
return 1;
-#if 0
- if(partition->arch==&arch_gpt && guid_cmp(partition->part_type_gpt,GPT_ENT_TYPE_LINUX_DATA)==0)
+ if(partition->arch==&arch_gpt &&
+ (
+ guid_cmp(partition->part_type_gpt,GPT_ENT_TYPE_LINUX_DATA)==0 ||
+ guid_cmp(partition->part_type_gpt,GPT_ENT_TYPE_LINUX_HOME)==0 ||
+ guid_cmp(partition->part_type_gpt,GPT_ENT_TYPE_LINUX_SRV)==0
+ ))
return 1;
-#endif
return 0;
}