|
Lines 137-143
Link Here
|
| 137 |
3) volume.policy.should_mount == TRUE |
137 |
3) volume.policy.should_mount == TRUE |
| 138 |
OR { |
138 |
OR { |
| 139 |
volume.policy.should_mount does not exist |
139 |
volume.policy.should_mount does not exist |
| 140 |
AND storage.policy.should_mount == TRUE on block.storage_device |
140 |
AND { storage.policy.should_mount == TRUE on block.storage_device |
|
|
141 |
OR storage.policy.should_mount does not exist on |
| 142 |
block.storage_device } |
| 141 |
} |
143 |
} |
| 142 |
*/ |
144 |
*/ |
| 143 |
|
145 |
|
|
Lines 197-208
Link Here
|
| 197 |
if (!libhal_device_property_exists |
199 |
if (!libhal_device_property_exists |
| 198 |
(hal_ctx, new_udi, "storage.policy.should_mount", &dbus_error)) |
200 |
(hal_ctx, new_udi, "storage.policy.should_mount", &dbus_error)) |
| 199 |
{ |
201 |
{ |
| 200 |
DEBUG(_("\ |
|
|
| 201 |
Device %s won't be mounted because no mount policy was specified on \ |
| 202 |
either the volume or parent device"), device); |
| 203 |
libhal_free_string(device); |
| 204 |
libhal_free_string(new_udi); |
| 205 |
return FALSE; |
| 206 |
} |
202 |
} |
| 207 |
else if ( |
203 |
else if ( |
| 208 |
!libhal_device_get_property_bool(hal_ctx, |
204 |
!libhal_device_get_property_bool(hal_ctx, |