source: scripts/configs/udev/udev-config-1.rules@ b34085fc

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b34085fc was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[617118d]1# /etc/udev/rules.d/00-lfs.rules: Rule definitions for LFS.
2
3# Create the /dev/cdrom symlink.
4BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
5
6# DRI devices always go into a subdirectory (as per the LSB spec).
7KERNEL="card*", NAME="dri/card%n"
8
9# ALSA devices get into /dev/snd/.
10KERNEL="controlC[0-9]*",NAME="snd/%k"
11KERNEL="hw[CD0-9]*", NAME="snd/%k"
12KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
13KERNEL="midiC[D0-9]*", NAME="snd/%k"
14KERNEL="timer", NAME="snd/%k"
15KERNEL="seq", NAME="snd/%k"
16
17# Input core devices go into /dev/input/.
18KERNEL="mice", NAME="input/%k"
19KERNEL="mouse*", NAME="input/%k"
20KERNEL="event*", NAME="input/%k"
21KERNEL="js*", NAME="input/%k"
22KERNEL="ts*", NAME="input/%k"
23
24# Assorted USB devices get a subdir as well.
25KERNEL="hiddev*", NAME="usb/%k"
26KERNEL="auer*", NAME="usb/%k"
27KERNEL="legousbtower*", NAME="usb/%k"
28KERNEL="dabusb*", NAME="usb/%k"
29BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"
30
31# CAPI devices
32KERNEL="capi", NAME="capi20", SYMLINK="isdn/capi20"
33KERNEL="capi*", NAME="capi/%n"
34
35# Network devices
36KERNEL="tun", NAME="net/%k"
37
38# raw devices
39KERNEL="raw[0-9]*", NAME="raw/%k"
Note: See TracBrowser for help on using the repository browser.