]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (MBR) use 0xEA partition type by BootLoaderSpecification
authorKarel Zak <kzak@redhat.com>
Thu, 2 Jan 2020 14:16:54 +0000 (15:16 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Jan 2020 14:16:54 +0000 (15:16 +0100)
Let's use 0xEA for "Linux extended boot" rather than for "Rufus alignment".

References: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pt-gpt-partnames.h
include/pt-mbr-partnames.h

index cb8e01104ebc8eb66e60c1fc81fd3b1ea126d913..a5aef981e9a643aa0d51c5e4d5eb8dad49734063 100644 (file)
@@ -57,12 +57,13 @@ DEF_GUID("993D8D3D-F80E-4225-855A-9DAF8ED7EA97", N_("Linux root     (IA-64)")),
 DEF_GUID("8DA63339-0007-60C0-C436-083AC8230908", N_("Linux reserved")),
 DEF_GUID("933AC7E1-2EB4-4F13-B844-0E14E2AEF915", N_("Linux home")),
 DEF_GUID("A19D880F-05FC-4D3B-A006-743F0F84911E", N_("Linux RAID")),
-DEF_GUID("BC13C2FF-59E6-4262-A352-B275FD6F7172", N_("Linux extended boot")),
 DEF_GUID("E6D6D379-F507-44C2-A23C-238F2A3DF928", N_("Linux LVM")),
 /* ... too crazy, ignore for now:
 DEF_GUID("7FFEC5C9-2D00-49B7-8941-3EA10A5586B7", N_("Linux plain dm-crypt")),
 DEF_GUID("CA7D7CCB-63ED-4C53-861C-1742536059CC", N_("Linux LUKS")),
 */
+/* Linux https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ */
+DEF_GUID("BC13C2FF-59E6-4262-A352-B275FD6F7172", N_("Linux extended boot")),
 
 /* FreeBSD */
 DEF_GUID("516E7CB4-6ECF-11D6-8FF8-00022D09712B", N_("FreeBSD data")),
index c9ab626b954c76be79dacacac9b5b902c51dc95e..19a34502993285255ed5762808ff8142a0a0817c 100644 (file)
        {0xe3, N_("DOS R/O")},          /* DOS R/O or SpeedStor */
        {0xe4, N_("SpeedStor")},        /* SpeedStor 16-bit FAT extended
                                           partition < 1024 cyl. */
-       {0xea, N_("Rufus alignment")},  /* Rufus extra partition for alignment */
+
+       /* Linux https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ */
+       {0xea, N_("Linux extended boot")},
+
        {0xeb, N_("BeOS fs")},
        {0xee, N_("GPT")},              /* Intel EFI GUID Partition Table */
        {0xef, N_("EFI (FAT-12/16/32)")},/* Intel EFI System Partition */