diff options
author | David Zeuthen <davidz@redhat.com> | 2012-01-20 12:51:35 -0500 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2012-01-20 12:51:35 -0500 |
commit | 44802979a1aa004407ba81d7166569c6fc20f436 (patch) | |
tree | 247b17d9760bf02373175c29d1e1eb4e6a56d4b0 | |
parent | 02d42f3cd85a0475470163ab3c6bedae905c4b4a (diff) | |
download | gvfs-44802979a1aa004407ba81d7166569c6fc20f436.tar.gz |
Mention that certain udev properties also influence what is shown
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r-- | 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 f31daac7..0a2a2532 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" |