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

Vladimir Serbinenko <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.