Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112277 Details for
Bug 169593
sys-apps/ivman:-0.6.14 ebuild update
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hotpluggable patch
ivman-0.6-hotpluggable.patch (text/plain), 2.03 KB, created by
ic+gentoo
on 2007-03-06 11:03:23 UTC
(
hide
)
Description:
hotpluggable patch
Filename:
MIME Type:
Creator:
ic+gentoo
Created:
2007-03-06 11:03:23 UTC
Size:
2.03 KB
patch
obsolete
>--- src/IvmConfig/IvmConfigCommon.c.old 2007-03-05 15:28:49.000000000 +0100 >+++ src/IvmConfig/IvmConfigCommon.c 2007-03-05 15:34:36.000000000 +0100 >@@ -146,7 +146,9 @@ > volume.policy.should_mount does not exist > AND { storage.policy.should_mount == TRUE on block.storage_device > OR { storage.policy.should_mount does not exist on >- block.storage_device AND storage.removable == TRUE on >+ block.storage_device AND { storage.removable == TRUE >+ OR storage.hotpluggable == TRUE >+ } on > block.storage_device > } > } >@@ -216,14 +218,16 @@ > { > ivm_check_dbus_error(&dbus_error); > // OK, so no storage policy was specified anywhere. Now we'll mount >- // if parent device is removable. >+ // if parent device is removable or hotpluggable. > if ( >- !libhal_device_property_exists( hal_ctx, new_udi, "storage.removable", NULL ) || >- !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.removable", NULL ) >+ (!libhal_device_property_exists( hal_ctx, new_udi, "storage.removable", NULL ) || >+ !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.removable", NULL )) && >+ (!libhal_device_property_exists( hal_ctx, new_udi, "storage.hotpluggable", NULL ) || >+ !libhal_device_get_property_bool( hal_ctx, new_udi, "storage.hotpluggable", NULL )) > ) { > DEBUG(_("\ > Device %s won't be mounted because no mount policy was specified on \ >-volume or storage device and storage device does not appear to be removable"), device >+volume or storage device and storage device does not appear to be removable or hotpluggable"), device > ); > libhal_free_string( device ); > libhal_free_string( new_udi );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 169593
:
112275
| 112277