diff options
author | greg@kroah.com <greg@kroah.com> | 2003-11-18 01:12:31 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:06:24 -0700 |
commit | 85f3a7c3e0fbda61dde22d89a0dd74b49cc58d07 (patch) | |
tree | 65c741f0fbefca42d0b4d017784b6fd0d144b9db /udev.config | |
parent | e366a459613ce9ff5c5155e93f3f09827dbb3815 (diff) |
[PATCH] add some documentation of the modifiers to the default config file.
Diffstat (limited to 'udev.config')
-rw-r--r-- | udev.config | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/udev.config b/udev.config index a0c6f9d1e8..324c11e55f 100644 --- 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... -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" |