]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: to recognize Intel Rapid Start hibernation partition
authorJörg Jenderek <joerg.jen.der.ek@gmx.net>
Wed, 7 Oct 2015 09:41:23 +0000 (11:41 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Nov 2015 09:21:24 +0000 (10:21 +0100)
commitffa151fe186bcacfdc6e714cf932231d65ac3a54
tree0a5ac4221e5bddb76fe62e0ce67322aced564479
parentdf0ab8b81d95e00a81a7daa827eef09683177313
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>
include/pt-mbr-partnames.h
include/pt-mbr.h