-.P
-The count of characters to insert may be limited by specifying
-the format length value. For example, '%3s{file}' will only insert
-the first three characters of the sysfs attribute.
-.P
-.RI "A sample " udev.rules " file might look like this:"
-.sp
-.nf
-# if /sbin/scsi_id returns "OEM 0815", the device will be called disk1
-BUS=="scsi", PROGRAM=="/sbin/scsi_id", RESULT=="OEM 0815", NAME="disk1"
-
-# USB printer to be called lp_color
-BUS=="usb", SYSFS{serial}=="W09090207101241330", NAME="lp_color"
-
-# SCSI disk with a specific vendor and model number will be called boot
-BUS=="scsi", SYSFS{vendor}=="IBM", SYSFS{model}=="ST336", NAME="boot%n"
-
-# sound card with PCI bus id 00:0b.0 to be called dsp
-BUS=="pci", ID=="00:0b.0", NAME="dsp"
-
-# USB mouse at third port of the second hub to be called mouse1
-BUS=="usb", ID=="2.3", NAME="mouse1"
-
-# ttyUSB1 should always be called pda with two additional symlinks
-KERNEL=="ttyUSB1", NAME="pda", SYMLINK="palmtop handheld"
-
-# multiple USB webcams with symlinks to be called webcam0, webcam1, ...
-BUS=="usb", SYSFS{model}=="XV3", NAME=="video%n", SYMLINK="webcam%n"
-.fi
-.P
-A number of different fields in the above configuration files support a simple
-form of shell style pattern matching. It supports the following pattern characters:
-.TP
-.B *
-Matches zero, one, or more characters.
-.TP
-.B ?
-Matches any single character, but does not match zero characters.
-.TP
-.B [ ]
-Matches any single character specified within the brackets. For example, the
-pattern string "tty[SR]" would match either "ttyS" or "ttyR". Ranges are also
-supported within this match with the '\-' character. For example, to match on
-the range of all digits, the pattern [0\-9] would be used. If the first character
-following the '[' is a '!', any characters not enclosed are matched.
-.P
-After device node creation, removal, or network device renaming,
-.B udev
-executes the programs specified by the
-.B RUN
-key.
-.br
-In addition to the kernel provided hotplug environment variables,
-.B UDEV_LOG
-is set and contains the numerical priority value, if udev is configured to use
-.BR syslog (3).
-Executed programs may want to follow that setting.
-.B DEVNAME
-is exported to make the name of the created node, or the name the network
-device is renamed to, available to the executed programs.