# # sample config taken from the man page, which can be customized with # several switches from the udisks utility, possibly also from # others like pumount (if udisks --unmount should not suit all needs) # #filter disks { # optical = false # usage = filesystem #} #match disks { # post_insertion_command = "udisks --mount %device_file --mount-options sync" # post_mount_command = "mount-notify mounted %device_file %mount_point" # post_unmount_command = "mount-notify unmounted %device_file %mount_point" #} # # Filters # filter disks { optical = false usage = filesystem } filter burnable { optical = true disc_closed = false } filter optical { optical = true } # # The default entry # default { # post_mount_command = "mount-notify mounted %device_file %mount_point" # post_unmount_command = "mount-notify unmounted %device_file %mount_point" } # # Additional entries # match disks { post_insertion_command = "udisks --mount %device_file --mount-options sync" } #match burnable { # post_insertion_command = "k3b %device_file" # post_mount_command = "" #} match optical { post_insertion_command = "udisks --mount %device_file --mount-options ro" }