packages: udisks-glue/udisks-glue.conf (NEW) - initial

uzsolt uzsolt at pld-linux.org
Fri Oct 22 10:40:10 CEST 2010


Author: uzsolt                       Date: Fri Oct 22 08:40:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/udisks-glue/udisks-glue.conf
diff -u /dev/null packages/udisks-glue/udisks-glue.conf:1.1
--- /dev/null	Fri Oct 22 10:40:10 2010
+++ packages/udisks-glue/udisks-glue.conf	Fri Oct 22 10:40:05 2010
@@ -0,0 +1,44 @@
+#
+# 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 = "notify-send %device_file %mount_point"
+   post_removal_command = "notify-send %device_file removed"
+}
+
+#
+# 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"
+}
+
================================================================


More information about the pld-cvs-commit mailing list