Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232195 - sys-apps/hal-0.5.11-r1: reapply patch from 0.5.9 for allowing users preventing automount of all partitions from system disk
Summary: sys-apps/hal-0.5.11-r1: reapply patch from 0.5.9 for allowing users preventin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-18 12:41 UTC by Pacho Ramos
Modified: 2008-09-04 22:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
97_ignore_fixed_drives.patch (97_ignore_fixed_drives.patch,1.33 KB, patch)
2008-07-18 12:42 UTC, Pacho Ramos
Details | Diff
hal-storage-policy-fixed-drives.patch (hal-storage-policy-fixed-drives.patch,1.10 KB, patch)
2008-07-22 09:19 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.