Changeset bf5fe0d
- Timestamp:
- Mar 14, 2006, 3:47:21 PM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 3fbe135
- Parents:
- 53885ce
- Location:
- udev
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/35-helper.rules
r53885ce rbf5fe0d 19 19 20 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" 21 BUS=="ide", KERNEL=="hd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode" 22 BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode" 23 BUS=="scsi", KERNEL="scd[a-z]", ACTION=="add", IMPORT="/sbin/cdrom_id --export $tempnode" 24 BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVER=="sr", GROUP="cdrom" 28 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 32 # Run network stuff when the network device is loaded 33 ACTION=="add", SUBSYSTEM=="net", ENV{INTERFACE}=="*", RUN+="network_helper.sh" 34 ACTION=="remove", SUBSYSTEM=="net", ENV{INTERFACE}=="*", RUN+="network_helper.sh" 35 -
udev/50-udev.rules
r53885ce rbf5fe0d 162 162 SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" 163 163 164 # cdrom165 KERNEL=="sr[0-9]*", GROUP="cdrom", SYMLINK+="cdrom%e"166 KERNEL=="scd[0-9]*", GROUP="cdrom", SYMLINK+="cdrom%e"167 KERNEL=="pcd[0-9]*", GROUP="cdrom", SYMLINK+="cdrom%e"168 -
udev/Makefile
r53885ce rbf5fe0d 30 30 scripts: 31 31 install -m ${SCRIPTMODE} load_floppy_module.sh ${DESTDIR}/lib/udev/load_floppy_module.sh 32 install -m ${SCRIPTMODE} check-cdrom.sh ${DESTDIR}/lib/udev/check-cdrom.sh33 32 34 33 boot: -
udev/udev.makechanges
r53885ce rbf5fe0d 11 11 Second, you will need to use udev 079 or above, here is the build instructions 12 12 you must use to get full functionality. 13 make EXTRAS="extras/firmware extras/ scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev13 make EXTRAS="extras/firmware extras/cdrom_id extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev 14 14 15 make EXTRAS="extras/firmware extras/ scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install15 make EXTRAS="extras/firmware extras/cdrom_id extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install 16 16 cp extras/path_id /sbin 17 17 cp extras/eventrecorder.sh /lib/udev
Note:
See TracChangeset
for help on using the changeset viewer.