Date: Mon, 28 Dec 2015 11:32:29 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Allan Jude <allanjude@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r292788 - in head/sys: geom/part sys Message-ID: <5680F39D.8070002@yandex.ru> In-Reply-To: <201512271812.tBRICD3A044563@repo.freebsd.org> References: <201512271812.tBRICD3A044563@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4BMdNf3VQL6TkIXMpQ3E3ahphsWWW4mJG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 27.12.15 21:12, Allan Jude wrote: > Author: allanjude > Date: Sun Dec 27 18:12:13 2015 > New Revision: 292788 > URL: https://svnweb.freebsd.org/changeset/base/292788 >=20 > Log: > Add some additional GPT partition types > =20 > 4 ChromeOS GPT types > 2 Microsoft partition types > the new OpenBSD partition type > =20 > Modified: head/sys/geom/part/g_part.h > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/geom/part/g_part.h Sun Dec 27 17:58:58 2015 (r292787) > +++ head/sys/geom/part/g_part.h Sun Dec 27 18:12:13 2015 (r292788) > @@ -37,12 +37,28 @@ > =20 > enum g_part_alias { > G_PART_ALIAS_APPLE_BOOT, /* An Apple boot partition entry. */ > + G_PART_ALIAS_APPLE_CORE_STORAGE,/* An Apple Core Storage partition. *= / > G_PART_ALIAS_APPLE_HFS, /* An HFS+ file system entry. */ > G_PART_ALIAS_APPLE_LABEL, /* An Apple label partition entry. */ > G_PART_ALIAS_APPLE_RAID, /* An Apple RAID partition entry. */ > G_PART_ALIAS_APPLE_RAID_OFFLINE,/* An Apple RAID (offline) part entry= =2E*/ > G_PART_ALIAS_APPLE_TV_RECOVERY, /* An Apple TV recovery part entry. *= / > G_PART_ALIAS_APPLE_UFS, /* An Apple UFS partition entry. */ > + G_PART_ALIAS_BIOS_BOOT, /* A GRUB 2 boot partition entry. */ > + G_PART_ALIAS_CHROMEOS_FIRMWARE, /* A ChromeOS firmware part. entry. *= / > + G_PART_ALIAS_CHROMEOS_KERNEL, /* A ChromeOS Kernel part. entry. */ > + G_PART_ALIAS_CHROMEOS_RESERVED, /* ChromeOS. Reserved for future use.= */ > + G_PART_ALIAS_CHROMEOS_ROOT, /* A ChromeOS root part. entry. */ This enum could be used by third-party kernel module and in general it is not good to change the order of elements here. This can break `gpart show` output for such modules. Just for the future. :) --=20 WBR, Andrey V. Elsukov --4BMdNf3VQL6TkIXMpQ3E3ahphsWWW4mJG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWgPOiAAoJEAHF6gQQyKF6VHcH/iqX1TFfGHCE+g1yPDKuUWpV WLpCMb4MtEVk4rhQatauwIAG+65MwJHwN4/D9BvWCYMmUgTyD/B5zBfcTvYPNcCl KCeTqV97Sf2BX9TJfYrtwPPn8RTpzCI1xUdqyyEXN1pPbit6HoKsciwwRVSHAPcP KbWO/J0IsHXokpf5FtvWLeJ8JfD25zIDc3yX4yppcL1NYGgvve5uLyJ/2dYuvQH7 ZDpv40odbYiG8jn8Oolt17xWmjLGcTWVKDrHEAXZf5pZ256s8JFfIQMo90yU9TTF bc7TNIRr+aA57RXEOPPK6wZC/tCav346HwskyYnCjPAbr1ktnEARCq6mt9GAWPU= =Yk1W -----END PGP SIGNATURE----- --4BMdNf3VQL6TkIXMpQ3E3ahphsWWW4mJG--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5680F39D.8070002>