Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232195

Summary: sys-apps/hal-0.5.11-r1: reapply patch from 0.5.9 for allowing users preventing automount of all partitions from system disk
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Saleem Abdulrasool (RETIRED) <compnerd>
Status: RESOLVED FIXED    
Severity: normal CC: gentopia, steev
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 97_ignore_fixed_drives.patch
hal-storage-policy-fixed-drives.patch

Description Pacho Ramos gentoo-dev 2008-07-18 12:41:39 UTC
I attach a modified version of patch used in 0.5.9 for making it compatible with 0.5.11 version, it still maintains default to mount all partitions but allow users (like me) to prevent all partitions automount simply changing:
              <merge key="volume.ignore" type="bool">false</merge>

from "false" to "true" in /usr/share/hal/fdi/policy/10osvendor/95-storage-ignore-fixed-drives.fdi (maybe this information could be added to ebuild for letting more users know about this capability) 

This is important for me because my /dev/sda has 8 partitions for other systems that I don't want to automount, also, it delays a lot first gnome login after a boot

Thanks a lot

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-07-18 12:42:13 UTC
Created attachment 160717 [details, diff]
97_ignore_fixed_drives.patch
Comment 2 Pacho Ramos gentoo-dev 2008-07-22 09:19:28 UTC
Created attachment 161082 [details, diff]
hal-storage-policy-fixed-drives.patch

Seems that previous patch doesn't work after rebooting and login at first time :-/, I attach opensuse's patch that seems to work as expected
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-09-04 22:33:51 UTC
Added as part of the new patchset.  Thanks.