Bugzilla – Bug 141544
mount options can't be changed for subfs-mounted devices (mem stick, CD, ...)
Last modified: 2006-01-24 21:05:00 UTC
To change mount options for user-removable devices, this ought to work in /usr/share/hal/fdi/policy/20thirdparty: <match key="block.is_volume" bool="true"> <merge key="volume.policy.mount_option.sync" type="bool">true</merge> <merge key="volume.policy.mount_option.iocharset=latin4" type="bool">true</merge> <merge key="volume.policy.mount_options.procuid" type="string">false</merge> <merge key="volume.policy.mount_options.iocharset" type="string">latin2</merge> But no such luck. It's a waste of time having to hunt around the system, to find that all these options are hard-coded into hald-subfs-mount. This is indescribable in polite words. The attached wrapper script will take care of the problem to some extent.
Created attachment 62024 [details] Wrapper script for hald-subfs-mount, to be able to change mount options of hotplug devices.
reassigning to hal package maintainer
We would not change this currently for the next release, because there is a storage manager under development to change this and enable the user to set own settings for mount from desktop. This helper was developed to mount defaultly and not with user changes. We allowed some keys directly, but this was only a workaround. Btw. there is not volume.policy.mount_options.* with type string. This is a little bug in the spec. Type of this property is bool.
Created attachment 64641 [details] Wrapper script for hald-subfs-mount, to be able to change mount options of hotplug devices
Btw. subfs is droped from the kernel fo 10.1 and with this also the existing mount helper.
Thanks Danny, I'm looking forward to anything better than the 10.0 situation. I updated the script because SUSE isn't fixing 10.0 and not everyone will be upgrading.
Not sure if drop subfs make it better as on 10.0 but the time will show.