by default hal-0.5.11-r4 hides all not-hotplugable and not-removable devices.
i.e. it hides fat,ntfs and other partitions.
any app using hal (dolphin,nautilus, etc.) shows only mounted partitions.
It shows all partitions except service partitions and /, /boot, /home
This problem is due to policy in /usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi file.
I have found that if you just add this to /etc/hal/fdi/policy/99-storage-policy-fixed-drives.fdi all works as expected. This basically just removes the policy enforced by /usr/share/hal/fdi/policy/10osvendor/99-storage-policy-fixed-drives.fdi
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<match key="@block.storage_device:storage.hotpluggable" bool="false">
<match key="@block.storage_device:storage.removable" bool="false">
<merge key="volume.ignore" type="bool">false</merge>
Thank you for your bug report, this does indeed seem a bit annoying. I have incorporated your change in patchset "4" as patch number 13.
+*hal-0.5.11-r7 (04 Feb 2009)
+ 04 Feb 2009; <firstname.lastname@example.org> metadata.xml, +hal-0.5.11-r7.ebuild:
+ Avoid circular dependencies between HAL and X by dropping migration script
+ and py86 dependency, closes bug #225091 by Ster0n <email@example.com>.
+ Properly ignore Dell recovery partitions, patch supplied by Pacho Ramos
+ <firstname.lastname@example.org> in bug #236784. Stop hiding unmounted
+ partitions, as suggested by Kirill Igorevich Cherniy
+ <email@example.com> in bug #247025. Upstream patch identified by
+ Rafael <firstname.lastname@example.org> fixes detection of partitions over ~1.2TB in
+ size, closes bug #253815 by Yar Odin <email@example.com>. Cease using
+ deprecated keys in our installed examples, as pointed out by Sebastian
+ Günther <firstname.lastname@example.org> in bug #256304.
To sum up upstream's argument about this policy, partitions on local drives should either be mounted or not shown because unmounted partitions are assumed to not contain anything the user would actually want to (or should) see. Please argument for why it should be shown ?
I'm actually far more annoyed by not having nautilus show my nfs mount point anymore but that's another issue.
I am against this change (also please note that I am the one suggested previous behavior in bug #232195 )
I don't want to get partitions that I won't use automounted because they are a lot, I won't use them and their mount add a delay in gnome login
Since this is user configurable, perhaps all that's needed is an ewarn with a link to this bug?
I can add an einfo with a suggestion to override it in /etc, yes. If the two bug reporters could figure out between themselves who is right please, I will not be playing ping-pong with this default.
Kirill, sorry to report that I have to revert an earlier decision. Applying this patch starts automounting various recovery partitions that we worked hard to keep hidden. Also, several users dislike the performance penalty that this entails. However, you should be able to override the default using an .fdi file in /etc.
This will not be the default.