[gvfs/wip/udisks2] Also add UDISKS_IGNORE example
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/wip/udisks2] Also add UDISKS_IGNORE example
- Date: Fri, 20 Jan 2012 17:54:56 +0000 (UTC)
commit 71176998d938759cb0b4933ef1fe37158d572d54
Author: David Zeuthen <davidz redhat com>
Date: Fri Jan 20 12:54:35 2012 -0500
Also add UDISKS_IGNORE example
Signed-off-by: David Zeuthen <davidz redhat com>
monitor/udisks2/what-is-shown.txt | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/monitor/udisks2/what-is-shown.txt b/monitor/udisks2/what-is-shown.txt
index 0a2a253..4c30fce 100644
--- a/monitor/udisks2/what-is-shown.txt
+++ b/monitor/udisks2/what-is-shown.txt
@@ -62,11 +62,14 @@ 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"
+# 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"
+# 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"
+# 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"
+
+# Make sure this specific hard disk does not appear in the user interface
+ENV{ID_SERIAL}=="HITACHI_HTS723232A7A364_E3834563KRG2HN", ENV{UDISKS_IGNORE}="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]