Changeset dfdebf6
- Timestamp:
- Apr 3, 2006, 8:21:42 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:
- 968489e
- Parents:
- 8359ebc
- Location:
- udev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/35-helper.rules
r8359ebc rdfdebf6 19 19 20 20 # check cdrom helper 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"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" 24 24 BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVER=="sr", GROUP="cdrom" 25 25 -
udev/60-persistent-disk.rules
r8359ebc rdfdebf6 28 28 29 29 # by-id (hardware serial number) 30 KERNEL=="hd*[!0-9]", IMPORT{program}=" /sbin/ata_id --export $tempnode"30 KERNEL=="hd*[!0-9]", IMPORT{program}="ata_id --export $tempnode" 31 31 KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}" 32 32 KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n" 33 33 34 34 KERNEL=="sd*[!0-9]|sr*", SYSFS{ieee1394_id}=="*", ENV{ID_SERIAL}="$sysfs{ieee1394_id}", ENV{ID_BUS}="ieee1394" 35 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}=" /sbin/usb_id -x"36 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}=" /sbin/scsi_id -g -x -s %p -d $tempnode"37 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}=" /sbin/scsi_id -g -x -a -s %p -d $tempnode"38 KERNEL=="dasd*[!0-9]", IMPORT{program}=" /sbin/dasd_id --export $tempnode"35 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="usb_id -x" 36 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode" 37 KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode" 38 KERNEL=="dasd*[!0-9]", IMPORT{program}="dasd_id --export $tempnode" 39 39 KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}" 40 40 … … 44 44 45 45 # by-path (shortest physical path) 46 KERNEL=="*[!0-9]|sr*", ENV{ID_TYPE}=="?*", IMPORT{program}=" /sbin/path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"46 KERNEL=="*[!0-9]|sr*", ENV{ID_TYPE}=="?*", IMPORT{program}="path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}" 47 47 KERNEL=="sr*", GOTO="persistent_end" 48 48 KERNEL=="*[0-9]", IMPORT{parent}=="ID_*" … … 51 51 # by-label/by-uuid (filesystem properties) 52 52 KERNEL=="*[!0-9]", SYSFS{removable}=="1", GOTO="persistent_end" 53 IMPORT{program}=" /sbin/vol_id --export $tempnode"53 IMPORT{program}="vol_id --export $tempnode" 54 54 ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}" 55 55 ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}" 56 56 57 57 # BIOS Enhanced Disk Device 58 KERNEL=="*[!0-9]", IMPORT{program}=" /sbin/edd_id --export $tempnode"58 KERNEL=="*[!0-9]", IMPORT{program}="edd_id --export $tempnode" 59 59 KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}" 60 60 KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n" -
udev/61-persistent-input.rules
r8359ebc rdfdebf6 20 20 21 21 # usb devices 22 BUS=="usb", IMPORT{program}=" /sbin/usb_id -x"22 BUS=="usb", IMPORT{program}="usb_id -x" 23 23 BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="01", ENV{ID_CLASS}="kbd" 24 24 BUS=="usb", SYSFS{bInterfaceClass}="03", SYSFS{bInterfaceProtocol}="02", ENV{ID_CLASS}="mouse" … … 29 29 30 30 # by-path 31 IMPORT{program}=" /sbin/path_id %p"31 IMPORT{program}="path_id %p" 32 32 ENV{ID_PATH}=="?*", KERNEL=="mouse*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}" 33 33 ENV{ID_PATH}=="?*", KERNEL=="event*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
Note:
See TracChangeset
for help on using the changeset viewer.