tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH 3/3] bootloader: Increase partition number to 128
On Sun, Mar 02, 2025 at 03:18:09PM +0300, Vladimir Serbinenko wrote:
> 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
>
This can't be changed so easily, there are only 26 letters available to
denote partitions as things currently are.
Home |
Main Index |
Thread Index |
Old Index