chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e366a45
)
[PATCH] add some documentation of the modifiers to the default config file.
author
greg@kroah.com
<greg@kroah.com>
Tue, 18 Nov 2003 09:12:31 +0000
(
01:12
-0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:06:24 +0000
(21:06 -0700)
udev.config
patch
|
blob
|
history
diff --git
a/udev.config
b/udev.config
index a0c6f9d1e87b72fd03230b148a1d1b1ff7884eee..324c11e55f2aff170528497c8b8d27f02f4e4bb7 100644
(file)
--- a/
udev.config
+++ b/
udev.config
@@
-1,5
+1,13
@@
+# There are a number of modifiers that are allowed to be used in the NAME field.
+# They provide the following subsitutions:
+# %n - the "kernel number" of the device.
+# for example, 'sda3' has a "kernel number" of '3'
+# %M - the kernel major number for the device
+# %m - the kernel minor number for the device
+#
+
# My usb camera...
# My usb camera...
-LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera"
+LABEL, BUS="usb", vendor="FUJIFILM", NAME="camera
%n
"
# USB Epson printer to be called lp_epson
LABEL, BUS="usb", serial="HXOLL0012202323480", NAME="lp_epson"
# USB Epson printer to be called lp_epson
LABEL, BUS="usb", serial="HXOLL0012202323480", NAME="lp_epson"