summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--namedev.config3
-rw-r--r--test.block2
2 files changed, 5 insertions, 0 deletions
diff --git a/namedev.config b/namedev.config
index abff870103..a0c6f9d1e8 100644
--- a/namedev.config
+++ b/namedev.config
@@ -1,3 +1,6 @@
+# My usb camera...
+LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera"
+
# USB Epson printer to be called lp_epson
LABEL, BUS="usb", serial="HXOLL0012202323480", NAME="lp_epson"
diff --git a/test.block b/test.block
index 675fbc057a..3e198fe4b6 100644
--- a/test.block
+++ b/test.block
@@ -3,6 +3,8 @@ export ACTION=add
#export ACTION=remove
export DEVPATH=/block/hda
+export DEVPATH=/block/sda/sda1
+export DEVPATH=/block/sda
./udev block