packages: udisks-glue/udisks-glue.conf - adjusted for recent syntax changes

atler atler at pld-linux.org
Sun Mar 6 14:50:36 CET 2011


Author: atler                        Date: Sun Mar  6 13:50:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- adjusted for recent syntax changes

---- Files affected:
packages/udisks-glue:
   udisks-glue.conf (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/udisks-glue/udisks-glue.conf
diff -u packages/udisks-glue/udisks-glue.conf:1.1 packages/udisks-glue/udisks-glue.conf:1.2
--- packages/udisks-glue/udisks-glue.conf:1.1	Fri Oct 22 10:40:05 2010
+++ packages/udisks-glue/udisks-glue.conf	Sun Mar  6 14:50:31 2011
@@ -3,26 +3,26 @@
 #
 
 filter disks {
-   optical = false
-   usage = filesystem
+    optical = false
+    partition_table = false
+    usage = filesystem
 }
 
 filter burnable {
-   optical = true
-   disc_closed = false
+    optical = true
+    optical_disc_closed = false
 }
 
 filter optical {
-   optical = true
+    optical = true
 }
 
 #
-# The default entry
+# The default entry (only used if no filters match)
 #
 
 default {
-   post_mount_command = "notify-send %device_file %mount_point"
-   post_removal_command = "notify-send %device_file removed"
+    post_insertion_command = "notify-send %device_file"
 }
 
 #
@@ -30,15 +30,21 @@
 #
 
 match disks {
-   post_insertion_command = "udisks --mount %device_file --mount-options sync"
+    automount = true
+    automount_options = { sync, noatime }
+    post_mount_command = "notify-send 'mounted %device_file %mount_point'"
+    post_unmount_command = "notify-send 'unmounted %device_file %mount_point'"
 }
 
 match burnable {
-   post_insertion_command = "k3b %device_file"
-   post_mount_command = ""
+    automount = true
+    automount_options = ro
+    post_insertion_command = "k3b %device_file"
+    post_mount_command = "notify-send 'mounted %device_file %mount_point'"
 }
 
 match optical {
-   post_insertion_command = "udisks --mount %device_file --mount-options ro"
+    automount = true
+    automount_options = ro
+    post_mount_command = "notify-send 'mounted %device_file %mount_point'"
 }
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udisks-glue/udisks-glue.conf?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list