bug#31994: Support for WinRe partition

Hans-Joachim Baader <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
Hello maintainers,

Windows 10 uses a recovery partition which is sometimes marked with
partition type 0x27 on MBR systems. I don't know why some vendors
use MBR rather than GPT, but it's a fact.

0x27 is in fact defined as Windows RE hidden partition (see
https://www.win.tue.nl/~aeb/partitions/partition_types-1.html).

I haven't found a way to create a partition with this ID in parted. I used
parted 3.2 which is 4 years old but I don't think is has been changed
in Git. For example when I create a NTFS partition and do

set 3 hidden on

I get ID 0x17. Perhaps a new flag is needed, e.g.

set 3 winre on

Do you think that parted should support that? Perhaps I could contribute
a patch if it's not supported yet.

Best regards,
Hans-Joachim Baader
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.