tech-kern archive

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

[PATCH 3/3] bootloader: Increase partition number to 128



GPT can have up to 128 partitions by default, without
real limit. Increase to at least the default value
---
 sys/arch/i386/stand/lib/biosdisk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arch/i386/stand/lib/biosdisk.c b/sys/arch/i386/stand/lib/biosdisk.c
index d8914c1647b..7f4842617b2 100644
--- a/sys/arch/i386/stand/lib/biosdisk.c
+++ b/sys/arch/i386/stand/lib/biosdisk.c
@@ -100,7 +100,7 @@
 #define BIOSDISK_BUFSIZE	2048	/* must be large enough for a CD sector */
 #endif
 
-#define BIOSDISKNPART 26
+#define BIOSDISKNPART 128
 
 struct biosdisk {
 	struct biosdisk_ll ll;
-- 
2.48.1



Home | Main Index | Thread Index | Old Index