]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: to recognize partition type 0xEA (Rufus)
authorJörg Jenderek <joerg.jen.der.ek@gmx.net>
Sat, 26 Sep 2015 00:58:06 +0000 (02:58 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 2 Oct 2015 10:34:01 +0000 (12:34 +0200)
i used a partitioning+formatting tool product rufus 2.2. of
https://rufus.akeo.ie/ This software has an extra format option for older BIOS.
With this fix the main partition is created with some alignments and for the
remaining unallocated space a small extra and empty partition with
identification 0xEA is created.

On the List of partition identifiers for PCs at
http://www.win.tue.nl/~aeb/partitions/partition_types-1.html is is said that
there is a freedesktop proposal to use also type ea as boot partition

Unfortunately the software fdisk (util-linux-2.27) can not classify that
partition.  I send for the fdisk program my 2 patches so that fdisk recognize
this partition type.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pt-mbr-partnames.h
include/pt-mbr.h

index 2e2127ae4ca415465bee8e10977e1eb9a83bb582..6fbde90f3498fa82fc3ca969b5d4d12f6bc4de75 100644 (file)
@@ -88,6 +88,7 @@
        {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 */
        {0xeb, N_("BeOS fs")},
        {0xee, N_("GPT")},              /* Intel EFI GUID Partition Table */
        {0xef, N_("EFI (FAT-12/16/32)")},/* Intel EFI System Partition */
index 8c4f8e6a8b9b3ba211adbcfeb1b0b65d786cae2b..2f837657beb380af31c7463fbdb08f640a1b018c 100644 (file)
@@ -163,6 +163,7 @@ enum {
        MBR_DOS_ACCESS_PARTITION        = 0xe1, /* DOS access or SpeedStor 12-bit FAT extended partition */
        MBR_DOS_RO_PARTITION            = 0xe3, /* DOS R/O or SpeedStor */
        MBR_SPEEDSTOR_EXTENDED_PARTITION = 0xe4, /* SpeedStor 16-bit FAT extended partition < 1024 cyl. */
+       MBR_RUFUS_EXTRA_PARTITION       = 0xea, /* Rufus extra partition for alignment */
        MBR_BEOS_FS_PARTITION           = 0xeb,
        MBR_GPT_PARTITION               = 0xee, /* Intel EFI GUID Partition Table */
        MBR_EFI_SYSTEM_PARTITION        = 0xef, /* Intel EFI System Partition */