summaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/files/99-udisks2.rules
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/udisks/files/99-udisks2.rules')
-rw-r--r--recipes-support/udisks/files/99-udisks2.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-support/udisks/files/99-udisks2.rules b/recipes-support/udisks/files/99-udisks2.rules
new file mode 100644
index 000000000..996e43439
--- /dev/null
+++ b/recipes-support/udisks/files/99-udisks2.rules
@@ -0,0 +1,5 @@
+# UDISKS_FILESYSTEM_SHARED
+# ==1: mount filesystem to a shared directory (/media/VolumeName)
+# ==0: mount filesystem to a private directory (/run/media/$USER/VolumeName)
+# See udisks(8)
+ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"