clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since f3f3c33 was dfdebf6, checked in by Jim Gifford <clfs@…>, 19 years ago |
r2774@server: jim | 2006-04-03 20:20:02 -0700
Updated based on UDEV-089
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[7e161ea] | 1 | ########################################################################
|
---|
| 2 | #
|
---|
[1f7827a2] | 3 | # Description : 35-helper.rules
|
---|
[7e161ea] | 4 | #
|
---|
| 5 | # Authors : Based on Open Suse Udev Rules
|
---|
| 6 | # kay.sievers@suse.de
|
---|
| 7 | #
|
---|
| 8 | # Adapted to : Jim Gifford
|
---|
[1f7827a2] | 9 | # LFS : Alexander E. Patrakov
|
---|
[7e161ea] | 10 | #
|
---|
[1f7827a2] | 11 | # Version : 00.01
|
---|
[7e161ea] | 12 | #
|
---|
[1f7827a2] | 13 | # Notes :
|
---|
[7e161ea] | 14 | #
|
---|
| 15 | ########################################################################
|
---|
| 16 |
|
---|
[1f7827a2] | 17 | # kernel firmware loader
|
---|
| 18 | SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware_helper"
|
---|
[c2504ea] | 19 |
|
---|
| 20 | # check cdrom helper
|
---|
[dfdebf6] | 21 | BUS=="ide", KERNEL=="hd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
|
---|
| 22 | BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
|
---|
| 23 | BUS=="scsi", KERNEL="scd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
|
---|
[bf5fe0d] | 24 | BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVER=="sr", GROUP="cdrom"
|
---|
| 25 |
|
---|
| 26 | ENV{ID_CDROM}=="?*", SYMLINK+="cdrom%m", GROUP="cdrom"
|
---|
| 27 | ENV{ID_CDROM_CD_R}=="?*", SYMLINK+="cdr%m"
|
---|
| 28 | ENV{ID_CDROM_CD_RW}=="?*", SYMLINK+="cdrw%m"
|
---|
| 29 | ENV{ID_CDROM_DVD}=="?*", SYMLINK+="dvd%m"
|
---|
| 30 | ENV{ID_CDROM_DVD_R}=="?*", SYMLINK+="dvdrw%m"
|
---|
| 31 |
|
---|
[d91bcb0] | 32 | # adds floppy devices
|
---|
| 33 | KERNEL=="fd[0-9]*", ACTION=="add", SYSFS{cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{cmos} -m %M /dev/%k"t
|
---|
Note:
See
TracBrowser
for help on using the repository browser.