diff options
author | james <james> | 2013-09-14 09:27:46 +0000 |
---|---|---|
committer | james <james> | 2013-09-14 09:27:46 +0000 |
commit | 55536fac4ec6d92bc96bdde422b0cfc1f1f6013b (patch) | |
tree | 9b0451ff11e542513a0d5464c562d27f7010742f | |
parent | 1755648246a536d9da56340acd9624b9a2731a83 (diff) | |
download | gpt-master.tar.gz gpt-master.tar.bz2 gpt-master.zip |
-rw-r--r-- | src/sync.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -67,10 +67,16 @@ sync_tables (DISK * d) type = MBR_PARTITION_TYPE_HFS; } - if ((type == MBR_PARTITION_TYPE_LINUX) && (!seen_linux)) + switch (type) { - seen_linux++; - bootable++; + case MBR_PARTITION_TYPE_LINUX: + case MBR_PARTITION_TYPE_RAID: + case MBR_PARTITION_TYPE_LVM: + if (!seen_linux) + { + seen_linux++; + bootable++; + } } mbr_entry_from_gpt_entry (&m->entry[mbr_entry++], &h.header, &e, |