On Wednesday 04 April 2012 11:11:56 Vincent Untz wrote:
Also see the man page: https://github.com/fernandotcl/udisks-glue/blob/master/man/udisks-glue.conf....
Also this config file needs to be adjusted for each new version of udisks, the examples I found in the internet are calling the udisks command line utility which is not compatible with udisks-2. So the script should be rewritten by a user.
Huh? That's not what I've seen with the example and documentation above. Out of curiosity, what are the examples you found?
The first example in the man page does not automount optical drives. The second example uses the udisks command line utility. It does NOT work without directly calling udisks --mount! # # Filters # filter disks { optical = false partition_table = false usage = filesystem } filter burnable { optical = true optical_disc_closed = false } filter optical { optical = true } # # The default entry (only used if no filters match) # default { post_insertion_command = "insertion\-notify %device_file" } # # Additional entries # match disks { automount = true automount_options = { sync, noatime } post_mount_command = "mount\-notify mounted %device_file %mount_point" post_unmount_command = "mount\-notify unmounted %device_file %mount_point" } match burnable { post_insertion_command = "k3b %device_file" post_mount_command = "mount\-notify mounted %device_file %mount_point" post_insertion_command = "udisks \-\-mount %device_file \-\-mount\-options ro" } match optical { automount = true automount_options = ro post_mount_command = "mount\-notify mounted %device_file %mount_point" post_insertion_command = "udisks \-\-mount %device_file \-\-mount\-options ro" } -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org