Annotation of /trunk/hal/patches/hal-0.5.7.1-ignored-volumes.patch
Parent Directory | Revision Log
Revision 82 -
(hide annotations)
(download)
Fri Oct 20 18:01:50 2006 UTC (17 years, 11 months ago) by niro
File size: 1639 byte(s)
Fri Oct 20 18:01:50 2006 UTC (17 years, 11 months ago) by niro
File size: 1639 byte(s)
patches and files for hal-0.5.7.1-r1
1 | niro | 82 | diff -ruN hal-0.5.7-old/fdi/policy/10osvendor/20-storage-methods.fdi hal-0.5.7/fdi/policy/10osvendor/20-storage-methods.fdi |
2 | --- hal-0.5.7-old/fdi/policy/10osvendor/20-storage-methods.fdi 2006-02-22 15:12:23.000000000 +0100 | ||
3 | +++ hal-0.5.7/fdi/policy/10osvendor/20-storage-methods.fdi 2006-03-15 22:48:07.000000000 +0100 | ||
4 | @@ -71,6 +71,29 @@ | ||
5 | <merge key="volume.ignore" type="bool">false</merge> | ||
6 | <match key="@block.storage_device:storage.hotpluggable" bool="false"> | ||
7 | <match key="@block.storage_device:storage.removable" bool="false"> | ||
8 | + <merge key="volume.ignore" type="bool">true</merge> | ||
9 | + | ||
10 | + <match key="volume.is_mounted" bool="true"> | ||
11 | + <!-- Show windows drives --> | ||
12 | + <match key="volume.fstype" string="vfat"> | ||
13 | + <merge key="volume.ignore" type="bool">false</merge> | ||
14 | + </match> | ||
15 | + <match key="volume.fstype" string="ntfs"> | ||
16 | + <merge key="volume.ignore" type="bool">false</merge> | ||
17 | + </match> | ||
18 | + | ||
19 | + <!-- Show /media/ and /mnt drives --> | ||
20 | + <match key="volume.mount_point" compare_gt="/media"> | ||
21 | + <match key="volume.mount_point" compare_lt="/media0"> | ||
22 | + <merge key="volume.ignore" type="bool">false</merge> | ||
23 | + </match> | ||
24 | + </match> | ||
25 | + <match key="volume.mount_point" compare_gt="/mnt"> | ||
26 | + <match key="volume.mount_point" compare_lt="/mnt0"> | ||
27 | + <merge key="volume.ignore" type="bool">false</merge> | ||
28 | + </match> | ||
29 | + </match> | ||
30 | + </match> | ||
31 | |||
32 | <!-- Should always ignore Apple Bootstrap partitions (it would be --> | ||
33 | <!-- a security hole to mount it) - TODO: should use the bootable --> |