ref: f001ddfdb598f9a588b22c029a5ade9030324c4b
parent: 3c7eaa9d6bbdd448675a7e9d4fe46bc0a48a4ade
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jul 31 22:22:01 EDT 2017
disk/edisk: add some headroom in the type table for dynamic entries
--- a/sys/src/cmd/disk/prep/edisk.c
+++ b/sys/src/cmd/disk/prep/edisk.c
@@ -98,7 +98,7 @@
((d)>>8)&255,(d)&255, \
((e)>>40)&255, ((e)>>32)&255, ((e)>>24)&255, ((e)>>16)&255, ((e)>>8)&255, (e)&255}
-static Type types[100] = {
+static Type types[256] = {
{UU(0x00000000,0x0000,0x0000,0x0000,0x000000000000ULL), "", "Unused entry"},
{UU(0x024DEE41,0x33E7,0x11D3,0x9D69,0x0008C781F39FULL), "mbr", "MBR partition"},
{UU(0xC12A7328,0xF81F,0x11D2,0xBA4B,0x00A0C93EC93BULL), "esp", "EFI System Partition"},