- Timestamp:
- May 29, 2006, 10:56:35 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- bae1f82
- Parents:
- 709291c
- Location:
- udev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/35-helper.rules
r709291c r858a93d 24 24 BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVER=="sr", GROUP="cdrom" 25 25 26 BUS=="ide", ENV{ID_CDROM}=="?*",PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrom%c"27 BUS=="ide", ENV{ID_CDROM_CD_R}=="?*",PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdr%c"28 BUS=="ide", ENV{ID_CDROM_CD_RW}=="?*",PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrw%c"29 BUS=="ide", ENV{ID_CDROM_DVD}=="?*",PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvd%c"30 BUS=="ide", ENV{ID_CDROM_DVD_R}=="?*",PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvdrw%c"26 BUS=="ide", ENV{ID_CDROM}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrom%c" 27 BUS=="ide", ENV{ID_CDROM_CD_R}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdr%c" 28 BUS=="ide", ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrw%c" 29 BUS=="ide", ENV{ID_CDROM_DVD}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvd%c" 30 BUS=="ide", ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvdrw%c" 31 31 32 BUS=="scsi", ENV{ID_CDROM}=="?*",PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrom%c"33 BUS=="scsi", ENV{ID_CDROM_CD_R}=="?*",PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdr%c"34 BUS=="scsi", ENV{ID_CDROM_CD_RW}=="?*",PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrw%c"35 BUS=="scsi", ENV{ID_CDROM_DVD}=="?*",PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvd%c"36 BUS=="scsi", ENV{ID_CDROM_DVD_R}=="?*",PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvdrw%c"32 BUS=="scsi", ENV{ID_CDROM}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrom%c" 33 BUS=="scsi", ENV{ID_CDROM_CD_R}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdr%c" 34 BUS=="scsi", ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrw%c" 35 BUS=="scsi", ENV{ID_CDROM_DVD}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvd%c" 36 BUS=="scsi", ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvdrw%c" 37 37 38 38 # adds floppy devices 39 39 KERNEL=="fd[0-9]*", ACTION=="add", SYSFS{cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{cmos} -m %M /dev/%k"t 40 40 41 -
udev/50-udev.rules
r709291c r858a93d 19 19 20 20 # console 21 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k",GROUP="tty", MODE="666", OPTIONS="last_rule"22 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", NAME="%k",GROUP="tty", MODE="666", OPTIONS="last_rule"23 KERNEL=="vcs*", NAME="%k",GROUP="tty", MODE="620", OPTIONS="last_rule"24 KERNEL=="tty", NAME="%k",GROUP="tty", MODE="666", OPTIONS="last_rule"25 KERNEL=="tty[0-9]*", NAME="%k",GROUP="tty", MODE="620", OPTIONS="last_rule"26 KERNEL=="console", NAME="%k",MODE="600", OPTIONS="last_rule"27 KERNEL=="ptmx", NAME="%k",GROUP="tty", MODE="666", OPTIONS="last_rule"21 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule" 22 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule" 23 KERNEL=="vcs*", GROUP="tty", MODE="620", OPTIONS="last_rule" 24 KERNEL=="tty", GROUP="tty", MODE="666", OPTIONS="last_rule" 25 KERNEL=="tty[0-9]*", GROUP="tty", MODE="620", OPTIONS="last_rule" 26 KERNEL=="console", MODE="600", OPTIONS="last_rule" 27 KERNEL=="ptmx", GROUP="tty", MODE="666", OPTIONS="last_rule" 28 28 29 29 # serial devices 30 KERNEL=="tty[A-Z]*", NAME="%k",GROUP="uucp"31 KERNEL=="pppox*", NAME="%k",GROUP="uucp"32 KERNEL=="ircomm*", NAME="%k",GROUP="uucp"33 KERNEL=="modems/mwave*", NAME="%k",GROUP="uucp"34 KERNEL=="hvc*", NAME="%k",GROUP="uucp"35 KERNEL=="hvsi*", NAME="%k",GROUP="uucp"36 KERNEL=="iseries/vtty*", NAME="%k",GROUP="uucp"30 KERNEL=="tty[A-Z]*", GROUP="uucp" 31 KERNEL=="pppox*", GROUP="uucp" 32 KERNEL=="ircomm*", GROUP="uucp" 33 KERNEL=="modems/mwave*", GROUP="uucp" 34 KERNEL=="hvc*", GROUP="uucp" 35 KERNEL=="hvsi*", GROUP="uucp" 36 KERNEL=="iseries/vtty*", GROUP="uucp" 37 37 KERNEL=="ttyUSB*", SYSFS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot" 38 KERNEL=="ttyUSB*", SYSFS{product}=="[Hh]andspring*Treo*|[Hh]andspring*Visor*", SYMLINK+="pilot"39 38 40 39 # video/graphics 41 40 SUBSYSTEM=="video4linux", GROUP="video" 42 41 SUBSYSTEM=="graphics" GROUP="video" 43 KERNEL=="vtx*", NAME="%k",GROUP="video"44 KERNEL=="vbi*", NAME="%k",GROUP="video"45 KERNEL=="winradio*", NAME="%k",GROUP="video"46 KERNEL=="vttuner*", NAME="%k",GROUP="video"47 KERNEL=="nvidia*", NAME="%k",GROUP="video"42 KERNEL=="vtx*", GROUP="video" 43 KERNEL=="vbi*", GROUP="video" 44 KERNEL=="winradio*", GROUP="video" 45 KERNEL=="vttuner*", GROUP="video" 46 KERNEL=="nvidia*", GROUP="video" 48 47 KERNEL=="video0", SYMLINK+="video" 49 48 KERNEL=="radio0", SYMLINK+="radio" … … 61 60 KERNEL=="ts*", NAME="input/%k", MODE="0600" 62 61 KERNEL=="uinput", NAME="input/%k", MODE="0600" 63 KERNEL=="lirc0", NAME="%k",SYMLINK+="lirc"62 KERNEL=="lirc0", SYMLINK+="lirc" 64 63 65 64 # printer 66 65 SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp" 67 66 SUBSYSTEM=="printer", KERNEL=="lp*", NAME="%k", GROUP="lp" 68 KERNEL=="irlpt*", NAME="%k",GROUP="lp"67 KERNEL=="irlpt*", GROUP="lp" 69 68 70 69 # cpu devices … … 74 73 75 74 # IEEE1394 devices 76 KERNEL=="raw1394*", NAME="%k",GROUP="video"77 KERNEL=="dv1394*", NAME="%k",SYMLINK+="dv1394/%n", GROUP="video"78 KERNEL=="video1394*", NAME="%k",SYMLINK+="video1394/%n", GROUP="video"75 KERNEL=="raw1394*", GROUP="video" 76 KERNEL=="dv1394*", SYMLINK+="dv1394/%n", GROUP="video" 77 KERNEL=="video1394*", SYMLINK+="video1394/%n", GROUP="video" 79 78 80 79 # 183 = /dev/hwrng Generic random number generator … … 94 93 95 94 # misc devices 96 KERNEL=="mem", NAME="%k",GROUP="kmem", MODE="640"97 KERNEL=="kmem", NAME="%k",GROUP="kmem", MODE="640"98 KERNEL=="port", NAME="%k",GROUP="kmem", MODE="640"99 KERNEL=="nvram", NAME="%k",GROUP="kmem", MODE="600"100 KERNEL=="null", NAME="%k",MODE="666"101 KERNEL=="zero", NAME="%k",MODE="666"102 KERNEL=="full", NAME="%k",MODE="622"103 KERNEL=="random", NAME="%k",MODE="666"104 KERNEL=="urandom", NAME="%k",MODE="644"95 KERNEL=="mem", GROUP="kmem", MODE="640" 96 KERNEL=="kmem", GROUP="kmem", MODE="640" 97 KERNEL=="port", GROUP="kmem", MODE="640" 98 KERNEL=="nvram", GROUP="kmem", MODE="600" 99 KERNEL=="null", MODE="666" 100 KERNEL=="zero", MODE="666" 101 KERNEL=="full", MODE="622" 102 KERNEL=="random", MODE="666" 103 KERNEL=="urandom", MODE="644" 105 104 KERNEL=="rtc", GROUP="audio" 106 KERNEL=="sonypi", MODE=" 0666"107 KERNEL=="agpgart", MODE=" 0600", GROUP="video"108 KERNEL=="djs*", NAME="%k",MODE="644"109 KERNEL=="sgi_*", NAME="%k",MODE="666"110 KERNEL=="rrom*", NAME="%k",MODE="400"111 KERNEL=="rflash*", NAME="%k",MODE="400"112 KERNEL=="usbscanner*", NAME="%k",MODE="644"113 KERNEL=="3270/ttycons*", NAME="%k",MODE="600"114 KERNEL=="3270/tub*", NAME="%k",MODE="666"115 KERNEL=="3270/tubcons*", NAME="%k",MODE="600"116 KERNEL=="ica", NAME="%k",MODE="666"117 KERNEL=="z90crypt", NAME="%k",MODE="666"118 KERNEL=="mmtimer", NAME="%k",MODE="444"105 KERNEL=="sonypi", MODE="666" 106 KERNEL=="agpgart", MODE="600", GROUP="video" 107 KERNEL=="djs*", MODE="644" 108 KERNEL=="sgi_*", MODE="666" 109 KERNEL=="rrom*", MODE="400" 110 KERNEL=="rflash*", MODE="400" 111 KERNEL=="usbscanner*", MODE="644" 112 KERNEL=="3270/ttycons*", MODE="600" 113 KERNEL=="3270/tub*", MODE="666" 114 KERNEL=="3270/tubcons*", MODE="600" 115 KERNEL=="ica", MODE="666" 116 KERNEL=="z90crypt", MODE="666" 117 KERNEL=="mmtimer", MODE="444" 119 118 KERNEL=="auer[0-9]*" NAME="usb/%k" 120 119 … … 134 133 135 134 # device mapper 136 KERNEL=="device-mapper", NAME="%k",SYMLINK+="mapper/control"135 KERNEL=="device-mapper", SYMLINK+="mapper/control" 137 136 138 137 # misc storage devices (non-block) 139 KERNEL=="sg*", NAME="%k", GROUP="disk", MODE="640" 140 KERNEL=="st*", NAME="%k", GROUP="tape" 141 KERNEL=="nst*", NAME="%k", GROUP="tape" 142 KERNEL=="initrd", NAME="%k", GROUP="disk" 143 KERNEL=="qft*", NAME="%k", GROUP="tape" 144 KERNEL=="nqft*", NAME="%k", GROUP="tape" 145 KERNEL=="zqft*", NAME="%k", GROUP="tape" 146 KERNEL=="nzqft*", NAME="%k", GROUP="tape" 147 KERNEL=="rawqft*", NAME="%k", GROUP="tape" 148 KERNEL=="nrawqft*", NAME="%k", GROUP="tape" 149 KERNEL=="pf*", NAME="%k", GROUP="disk" 150 KERNEL=="sch*", NAME="%k", GROUP="disk" 151 KERNEL=="pt*", NAME="%k", GROUP="tape" 152 KERNEL=="npt*", NAME="%k", GROUP="tape" 153 KERNEL=="pg*", NAME="%k", GROUP="disk" 154 KERNEL=="evms/block_device*", NAME="%k", GROUP="disk" 155 KERNEL=="rawctl*", NAME="raw/%k", GROUP="disk" 156 KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk" 157 KERNEL=="osst*", NAME="%k", GROUP="tape" 158 KERNEL=="nosst*", NAME="%k", GROUP="tape" 159 KERNEL=="iseries/vt*", NAME="%k", GROUP="disk" 160 KERNEL=="iseries/nvt*", NAME="%k", GROUP="disk" 161 KERNEL=="iseries/ibmsis*", NAME="%k", GROUP="disk" 138 KERNEL=="sg*", GROUP="disk", MODE="640" 139 KERNEL=="st*", GROUP="tape" 140 KERNEL=="nst*", GROUP="tape" 141 KERNEL=="initrd", GROUP="disk" 142 KERNEL=="qft*", GROUP="tape" 143 KERNEL=="nqft*", GROUP="tape" 144 KERNEL=="zqft*", GROUP="tape" 145 KERNEL=="nzqft*", GROUP="tape" 146 KERNEL=="rawqft*", GROUP="tape" 147 KERNEL=="nrawqft*", GROUP="tape" 148 KERNEL=="pf*", GROUP="disk" 149 KERNEL=="sch*", GROUP="disk" 150 KERNEL=="pt*", GROUP="tape" 151 KERNEL=="npt*", GROUP="tape" 152 KERNEL=="pg*", GROUP="disk" 153 KERNEL=="evms/block_device*", GROUP="disk" 154 KERNEL=="rawctl*", GROUP="disk" 155 KERNEL=="osst*", GROUP="tape" 156 KERNEL=="nosst*", GROUP="tape" 157 KERNEL=="iseries/vt*", GROUP="disk" 158 KERNEL=="iseries/nvt*", GROUP="disk" 159 KERNEL=="iseries/ibmsis*", GROUP="disk" 162 160 163 161 # libusb device access 164 162 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" 165 -
udev/90-user.rules
r709291c r858a93d 17 17 18 18 # Create Mouse Symlink 19 KERNEL=="psaux", NAME="%k",SYMLINK+="mouse"19 KERNEL=="psaux", SYMLINK+="mouse"
Note:
See TracChangeset
for help on using the changeset viewer.