Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2024 02:06:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276517] disklabel(8) crash
Message-ID:  <bug-276517-227-FaJ4o3a3JC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276517-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276517-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276517

--- Comment #4 from Ed Maste <emaste@freebsd.org> ---
Yes bsdlabel is just broken when there are more than 8 partitions.

Note this, from sys/sys/disk/bsd.h:
#define BSD_NPARTS_MIN          8
#define BSD_NPARTS_MAX          20

struct disklabel {
...
        struct partition {              /* the partition table */
...
        } d_partitions[BSD_NPARTS_MIN]; /* actually may be more */
};

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276517-227-FaJ4o3a3JC>