X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=udev.8;h=d36145f43b43a28f1b90bb09b6a178d225ad1359;hb=316c51507724406f2ded06d067f55e867df90b15;hp=0c461967d2444f6bfc9093f6c804d2c10b5ecaad;hpb=c6c13c31814e9fc7557ca303c331d0cf13664372;p=elogind.git diff --git a/udev.8 b/udev.8 index 0c461967d..d36145f43 100644 --- a/udev.8 +++ b/udev.8 @@ -94,7 +94,7 @@ file. Every line in the rules file define the mapping between device attributes and the device file name. It starts with a keyword defining the method used to match, followed by one ore more keys to compare and the filename for the -device. Optional the name for a symlink targeting the node may specified. +device. One ore more optional symlinks targeting the node may be specified. .br If no matching configuration is found, the default kernel device name is used. @@ -158,7 +158,7 @@ The CALLOUT program returned string. .B %D Use the devfs style disk name for this device. For partitions, this will result in 'part%n' -If this is not a partition, it will result in 'disk'. +If this is not a partition, it will result in 'disc'. .P .RI "A sample " udev.rules " might look like this:" .sp @@ -175,11 +175,11 @@ NUMBER, BUS="pci", ID="00:0b.0", NAME="dsp" # USB mouse at third port of the second hub to be called mouse1 TOPOLOGY, BUS="usb", PLACE="2.3", NAME="mouse1" -# ttyUSB1 should always be called pda -REPLACE, KERNEL="ttyUSB1", NAME="pda" +# ttyUSB1 should always be called pda with two additional symlinks +REPLACE, KERNEL="ttyUSB1", NAME="pda", SYMLINK="palmtop handheld" -# USB webcams with symlinks to be called webcam0, webcam1, ... -LABEL, BUS="usb", model="WebCam Version 3", NAME="video%n", SYMLINK="webcam%n" +# multiple USB webcams with symlinks to be called webcam0, webcam1, ... +LABEL, BUS="usb", model="WebCam V3", NAME="video%n", SYMLINK="webcam%n" .fi .P Permissions and ownership for the created device files may specified at