Public bug reported:

Binary package hint: devicekit-disks

/lib/udev/rules.d/95-devkit-disks.rules contains rules to hide system
recovery partitions and such: here's an excerpt:

# special MBR partition types (EFI, hidden, etc.)
# see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html
ENV{DKD_PARTITION_SCHEME}=="mbr", \
  
ENV{DKD_PARTITION_TYPE}=="0x00|0x11|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef",
 \
  ENV{DKD_PRESENTATION_HIDE}="1"

According to the web site listed, partition type 0x12 (Compaq
diagnostics) is also used by Thinkpads for the recovery partition. I can
confirm this, at least on my Lenovo X200 Tablet. Adding 0x12 to the
hidden partition types would hide the recovery partition by default,
which I consider to be a bonus: a technically minded user can always
unhide the partition if they need access to it. As I've already hidden
mine with a custom rule, I don't mind either way.

The main reason why my recovery partition wasn't hidden using other
rules, was because it does not have a label.

Thanks for the hard work guys, it really shows!

** Affects: devicekit-disks (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Partition type 0x12 could be hidden
https://bugs.launchpad.net/bugs/451304
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to