summaryrefslogtreecommitdiffstats
path: root/include/pt-mbr.h
diff options
context:
space:
mode:
authorJörg Jenderek2015-10-07 11:41:23 +0200
committerKarel Zak2015-10-09 13:07:31 +0200
commit3e9a2bbb94b9f0a2f265ac0c59ffd3b94007b2c8 (patch)
tree4132cedf03f8267f0d8cfa142f1f114b59149ba9 /include/pt-mbr.h
parentpartx: prevent code duplication (diff)
downloadkernel-qcow2-util-linux-3e9a2bbb94b9f0a2f265ac0c59ffd3b94007b2c8.tar.gz
kernel-qcow2-util-linux-3e9a2bbb94b9f0a2f265ac0c59ffd3b94007b2c8.tar.xz
kernel-qcow2-util-linux-3e9a2bbb94b9f0a2f265ac0c59ffd3b94007b2c8.zip
fdisk: to recognize Intel Rapid Start hibernation partition
I use Intel Rapid Start Technology on my PC. According to their User Guide "Rapid_Start_Technology_User_Guide_v1.4.pdf" I create a partition with id=84 for hibernation by this Technology. Unfortunately the software fdisk (util-linux-2.27) classifies that partition as "OS/2 hidden C:". That is not wrong, but on website https://en.wikipedia.org/wiki/Partition_type is written, that id 0x84 beside using for hiding drive C: this type is a also used as hibernation partition for Microsoft APM and also for Intel Rapid Start So I patched 2 header files so that fdisk recognize this partition type variation. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pt-mbr.h')
-rw-r--r--include/pt-mbr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pt-mbr.h b/include/pt-mbr.h
index 2f837657b..90be95b1f 100644
--- a/include/pt-mbr.h
+++ b/include/pt-mbr.h
@@ -129,7 +129,8 @@ enum {
MBR_LINUX_SWAP_PARTITION = 0x82,
MBR_SOLARIS_X86_PARTITION = MBR_LINUX_SWAP_PARTITION,
MBR_LINUX_DATA_PARTITION = 0x83,
- MBR_OS2_HIDDEN_DRIVE_PARTITION = 0x84,
+ MBR_OS2_HIDDEN_DRIVE_PARTITION = 0x84, /* also hibernation MS APM, Intel Rapid Start */
+ MBR_INTEL_HIBERNATION_PARTITION = MBR_OS2_HIDDEN_DRIVE_PARTITION,
MBR_LINUX_EXTENDED_PARTITION = 0x85,
MBR_NTFS_VOL_SET1_PARTITION = 0x86,
MBR_NTFS_VOL_SET2_PARTITION = 0x87,