Hide recovery, boot, and hidden partitions from desktops
authorMartin Pitt <martin.pitt@ubuntu.com>
Fri, 10 Jul 2009 16:31:07 +0000 (18:31 +0200)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 10 Aug 2009 01:26:47 +0000 (21:26 -0400)
commit151f586f59c446ba026e9c649aebc9b79392c9b9
tree7c6c50d98754d3f4f0ff03e253676c7dd80c75a4
parent3b5aff5c60d54c242028ebcf22ea9676cb37eef3
Hide recovery, boot, and hidden partitions from desktops

Set DKD_PRESENTATION_HIDE for partitions which desktops should hide, such as
EFI, Apple bootstrap, or recovery partitions.

For recovery partitions is a direct port of the earlier hal fdis:
http://cgit.freedesktop.org/hal/tree/fdi/policy/10osvendor/20-storage-methods.fdi#n80

Apple boostrap, EFI, and hidden partitions now don't rely on labels any more,
but directly check partitioning schema (mbr, GUID) and types.

libgdu evaluates this and exports it as device-presentation-hide
property, which gvfs respects.

https://bugs.freedesktop.org/show_bug.cgi?id=22707

Signed-off-by: David Zeuthen <davidz@redhat.com>
data/95-devkit-disks.rules