Changeset 4dca606
- Timestamp:
- Jun 12, 2007, 11:04:37 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e6fe92a5
- Parents:
- 6bb748c
- Location:
- udev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
udev/40-modprobe.rules
r6bb748c r4dca606 19 19 20 20 # scsi 21 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"22 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", SYSFS{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"23 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st"24 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod"25 SUBSYSTEM=="scsi_device", ACTION=="add", RUN+="/sbin/modprobe sg"21 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod" 22 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst" 23 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st" 24 SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod" 25 SUBSYSTEM=="scsi_device", ACTION=="add", RUN+="/sbin/modprobe sg" 26 26 27 27 # ide 28 28 KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions" 29 SUBSYSTEM=="ide", ACTION=="add", ATTR {media}=="tape", RUN+="/sbin/modprobe ide-scsi"29 SUBSYSTEM=="ide", ACTION=="add", ATTRS{media}=="tape", RUN+="/sbin/modprobe ide-scsi" 30 30 31 31 # floppy … … 35 35 SUBSYSTEM=="mmc", ACTION=="add", RUN+="/sbin/modprobe mmc_block" 36 36 37 -
udev/50-udev.rules
r6bb748c r4dca606 119 119 # sr: 4 TYPE_WORM, 5 TYPE_ROM 120 120 # st/osst: 1 TYPE_TAPE 121 ACTION=="add", SUBSYSTEM=="scsi", ATTR{type}=="0|7|14", ATTR{timeout}="60"122 ACTION=="add", SUBSYSTEM=="scsi" , ATTR{type}=="1", ATTR{timeout}="900" 121 SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60" 122 SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900 123 123 124 124 # misc storage devices (non-block) … … 149 149 # libusb device access 150 150 SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", MODE="0644" 151 SUBSYSTEM=="usb_device", ACTION=="add", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644" -
udev/64-device-mapper.rules
r6bb748c r4dca606 26 26 IMPORT{program}="/sbin/dmsetup export -j%M -m%m" 27 27 ENV{DM_STATE}!="ACTIVE", GOTO="device_mapper_end" 28 ENV{DM_TARGET_TYPES}=="|* snapshot*|*error*",GOTO="device_mapper_end"28 ENV{DM_TARGET_TYPES}=="|*error*", GOTO="device_mapper_end" 29 29 30 30 SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
Note:
See TracChangeset
for help on using the changeset viewer.