Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 22:29:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225813] [geom][patch] gpart does not recognise Apple APFS partition type
Message-ID:  <bug-225813-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 225813
           Summary: [geom][patch] gpart does not recognise Apple APFS
                    partition type
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: james.wright@jigsawdezign.com
          Keywords: patch

Created attachment 190494
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190494&action=
=3Dedit
Patch for adding Apple APFS as a known GPT partition type

Apple APFS partition type is not recognised by gpart, e.g.

james macbook ~ % gpart show
=3D>       34  977104993  ada0  GPT  (466G)
         34          6        - free -  (3.0K)
         40     409600     1  efi  (200M)
     409640  546875000     2  !7c3457ef-0000-11aa-aa11-00306543ecac  (261G)
...

I have included a patch to add the Apple APFS magic guid to the known types,
recompiled and tested with the following results;

james macbook ~ % gpart show
=3D>       34  977104993  ada0  GPT  (466G)
         34          6        - free -  (3.0K)
         40     409600     1  efi  (200M)
     409640  546875000     2  apple-apfs  (261G)

Please could someone review and test the patch for me?

Thanks,
James

--=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-225813-8>