]> 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>
Fri, 9 Oct 2015 11:07:31 +0000 (13:07 +0200)
commit3e9a2bbb94b9f0a2f265ac0c59ffd3b94007b2c8
tree4132cedf03f8267f0d8cfa142f1f114b59149ba9
parent24b7db7e4e0d7bb026d2d80c95ecdcfc476a9b45
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