Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
From: "Ernesto A. Fernández" <ernesto.mnd.fernandez@gmail.com>
To: util-linux@vger.kernel.org
Subject: [PATCH] libfdisk: (gpt) add GUID for APFS containers
Date: Mon, 9 Sep 2019 17:59:07 -0300
Message-ID: <20190909205907.alytemtibvk4kv37@eaf> (raw)

Add the partition type GUID for the Apple File System to gpt_parttypes.

Signed-off-by: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
 libfdisk/src/gpt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libfdisk/src/gpt.c b/libfdisk/src/gpt.c
index 1658782a8..279f22978 100644
--- a/libfdisk/src/gpt.c
+++ b/libfdisk/src/gpt.c
@@ -217,6 +217,7 @@ static struct fdisk_parttype gpt_parttypes[] =
 	/* Apple OSX */
 	DEF_GUID("48465300-0000-11AA-AA11-00306543ECAC", N_("Apple HFS/HFS+")),
+	DEF_GUID("7C3457EF-0000-11AA-AA11-00306543ECAC", N_("Apple APFS")),
 	DEF_GUID("55465300-0000-11AA-AA11-00306543ECAC", N_("Apple UFS")),
 	DEF_GUID("52414944-0000-11AA-AA11-00306543ECAC", N_("Apple RAID")),
 	DEF_GUID("52414944-5F4F-11AA-AA11-00306543ECAC", N_("Apple RAID offline")),

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-09 20:59 Ernesto A. Fernández [this message]
2019-09-10 10:41 ` Karel Zak

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190909205907.alytemtibvk4kv37@eaf \
    --to=ernesto.mnd.fernandez@gmail.com \
    --cc=util-linux@vger.kernel.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org util-linux@archiver.kernel.org
	public-inbox-index util-linux

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox