]> git.ipfire.org Git - thirdparty/systemd.git/commit - udev/udev.xml
man: SYMLINK can be matched as well as assigned
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Fri, 7 Aug 2009 12:29:49 +0000 (13:29 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 7 Aug 2009 12:46:42 +0000 (14:46 +0200)
commit5bdba42ddb9cda2858e042bac991f67ae36cc888
tree64846917ca471534103f2deb8a60bbcbc192dfc0
parent8e534e2a47385253a00ffa58247d69d079b66ca7
man: SYMLINK can be matched as well as assigned

If by-path / by-id links don't quite do what you want, this is a nice
clean way to extend the behaviour.  Real example:

SYMLINK=="serial/by-id/usb-Novatel_Wireless_Inc*CDMA*-if00-port0", \\
 SYMLINK+="cellcard"

Some users ask how to do things like this.

 - create an additional link with a shorter name
 - create a link which matches more loosely
    (omit certain path segments e.g. serial numbers)
 - change permissions on certain USB device nodes

Allow them to realize this without reading the friendly *.c files.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
udev/udev.xml