clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 371d2dc was c2504ea, checked in by Jim Gifford <clfs@…>, 19 years ago |
r1099@server (orig r1097): jim | 2006-01-25 11:02:14 -0800
r1111@server: jim | 2006-01-25 10:56:58 -0800
Added: cdrom rules
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ########################################################################
|
---|
2 | #
|
---|
3 | # Description : 35-helper.rules
|
---|
4 | #
|
---|
5 | # Authors : Based on Open Suse Udev Rules
|
---|
6 | # kay.sievers@suse.de
|
---|
7 | #
|
---|
8 | # Adapted to : Jim Gifford
|
---|
9 | # LFS : Alexander E. Patrakov
|
---|
10 | #
|
---|
11 | # Version : 00.01
|
---|
12 | #
|
---|
13 | # Notes :
|
---|
14 | #
|
---|
15 | ########################################################################
|
---|
16 |
|
---|
17 | # kernel firmware loader
|
---|
18 | SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware_helper"
|
---|
19 |
|
---|
20 | # check cdrom helper
|
---|
21 | KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", RESULT=="cdrom", SYMLINK+="cdrom%e"
|
---|
22 | KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM=="/lib/udev/check-cdrom.sh %k DVD", SYMLINK+="dvd%e"
|
---|
23 | KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="/lib/udev/check-cdrom.sh %k DVD", SYMLINK+="dvd%e"
|
---|
24 | KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM=="/lib/udev/check-cdrom.sh %k CD-R", SYMLINK+="cdwriter%e"
|
---|
25 | KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="/lib/udev/check-cdrom.sh %k CD-R", SYMLINK+="cdwriter%e"
|
---|
26 | KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM="/lib/udev/check-cdrom.sh %k DVD-R", SYMLINK+="dvdwriter%e"
|
---|
27 | KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="/lib/udev/check-cdrom.sh %k DVD-R", SYMLINK+="dvdwriter%e"
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.