[gvfs/wip/udisks2] Mention that certain udev properties also influence what is shown



commit 44802979a1aa004407ba81d7166569c6fc20f436
Author: David Zeuthen <davidz redhat com>
Date:   Fri Jan 20 12:51:35 2012 -0500

    Mention that certain udev properties also influence what is shown
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 monitor/udisks2/what-is-shown.txt |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/monitor/udisks2/what-is-shown.txt b/monitor/udisks2/what-is-shown.txt
index f31daac..0a2a253 100644
--- a/monitor/udisks2/what-is-shown.txt
+++ b/monitor/udisks2/what-is-shown.txt
@@ -53,3 +53,20 @@ EXAMPLES
 
 # forcibly show NFS mount in user interface
 10.200.0.210:/tank/media  /mnt/Filer  nfs4  default,users,noauto,comment=gvfs-show  0 0
+
+INFLUENTIAL UDEV PROPERTIES
+---------------------------
+
+Note that it's also possible to influence what is shown (and if it's
+shown) using udev properties. While the udisks(8) man page is the
+authoritative source for the supported properties, we mention specific
+examples here
+
+ # Don't automount USB Kingston DataTraveler devices
+ SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="*Kingston*", ENV{ID_MODEL}=="*DataTraveler*", ENV{UDISKS_AUTO}="0"
+
+ # Automount this specific hard disk and don't require admin authentication
+ ENV{ID_SERIAL}=="WDC_WD1002FAEX-00Y9A0_WD-WCAW30039835", ENV{UDISKS_AUTO}="1", ENV{UDISKS_SYSTEM}="0"
+
+ # Specify name and icon name for a specific device.
+ ENV{ID_MEDIA_PLAYER}=="apple-ipod", ENV{UDISKS_NAME}="David's iPod", ENV{UDISKS_ICON_NAME}="multimedia-player-ipod"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]