source: udev/35-helper.rules@ 76a1d35

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 76a1d35 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
RevLine 
[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
18SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware_helper"
[c2504ea]19
20# check cdrom helper
21KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", RESULT=="cdrom", SYMLINK+="cdrom%e"
22KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM=="/lib/udev/check-cdrom.sh %k DVD", SYMLINK+="dvd%e"
23KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="/lib/udev/check-cdrom.sh %k DVD", SYMLINK+="dvd%e"
24KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM=="/lib/udev/check-cdrom.sh %k CD-R", SYMLINK+="cdwriter%e"
25KERNEL=="sr[0-9]*", BUS=="scsi", PROGRAM=="/lib/udev/check-cdrom.sh %k CD-R", SYMLINK+="cdwriter%e"
26KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM="/lib/udev/check-cdrom.sh %k DVD-R", SYMLINK+="dvdwriter%e"
27KERNEL=="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.