Date: Sat, 02 Nov 2002 13:11:02 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Marcel Moolenaar <marcel@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/geom geom_mbr.c Message-ID: <20451.1036239062@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 02 Nov 2002 04:01:12 PST." <200211021201.gA2C1CKD025754@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200211021201.gA2C1CKD025754@repoman.freebsd.org>, Marcel Moolenaar writes: >marcel 2002/11/02 04:01:12 PST > > Modified files: > sys/geom geom_mbr.c > Log: > Remove the GEOM_GPT hack. We now check for partition type 0xEE and > skip those. This handles the Protective MBR (PMBR) which consists > of a single partition of type 0xEE that covers the whole disk and > as such protects the GPT partitioning. We allow other partitions to > be present besides partitions of type 0xEE and as such interpret > partition type 0xEE as a "hands-off" partition only. > > While here, fix g_mbrext_dumpconf to test if indent is NULL and > dump the data in a form that libdisk can grok. Change the logic > in g_mbr_dumpconf to match that of g_mbrext_dumpconf. This does > not change the output, but prevents a NULL-pointer dereference > when indent == NULL && pp == NULL. Thanks! I had overlooked that one. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20451.1036239062>