by default hal-0.5.11-r4 hides all not-hotplugable and not-removable devices. i.e. it hides fat,ntfs and other partitions. Reproducible: Always Actual Results: any app using hal (dolphin,nautilus, etc.) shows only mounted partitions. Expected Results: 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 -*- --> <deviceinfo version="0.2"> <device> <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> </match> </match> </device> </deviceinfo>
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; <chainsaw@gentoo.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 <er0trashbox@gmail.com>. + Properly ignore Dell recovery partitions, patch supplied by Pacho Ramos + <pacho@condmat1.ciencias.uniovi.es> in bug #236784. Stop hiding unmounted + partitions, as suggested by Kirill Igorevich Cherniy + <kirill_i_cherniy@rambler.ru> in bug #247025. Upstream patch identified by + Rafael <rktspm@gmail.com> fixes detection of partitions over ~1.2TB in + size, closes bug #253815 by Yar Odin <yarodin@gmail.com>. Cease using + deprecated keys in our installed examples, as pointed out by Sebastian + Günther <samson@guenther-roetgen.de> 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.