[kde-linux] mediamanager hal and mount options

Anselmo omlesna at gmail.com
Thu Jan 4 16:34:02 UTC 2007


Hi,

media manager always use the option sync with external disk.

i've managed to disable the sync option in the hal configuration

	<merge key="volume.policy.mount_option.sync" type="bool">false</merge>

and i've verifed that the key is correctly set for the device.

	0: udi 			
= '/org/freedesktop/Hal/devices/volume_uuid_c07b1b3c_2137_4948_b941_e8d5eb657f4f'
	volume.policy.mount_option.sync = false  (bool)
	volume.unmount.valid_options = { 'lazy' } (string list)
	volume.mount.valid_options = 
{ 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'data=' } 
(string list)


The problem is that mediamanager continue to use the sync option.

I've to remove the sync options also from the volume.mount.valid_options

	<remove key="volume.mount.valid_options" type="strlist">sync</remove>

and get

0: udi 			
= '/org/freedesktop/Hal/devices/volume_uuid_c07b1b3c_2137_4948_b941_e8d5eb657f4f'
	volume.policy.mount_option.sync = false  (bool)
	volume.unmount.valid_options = { 'lazy' } (string list)
	volume.mount.valid_options = 
{ 'ro', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'data=' } 
(string list)

to get things working.

Why mediamanager doesn't consider the volume.policy.mount_option ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20070104/7596050c/attachment.sig>


More information about the kde-linux mailing list