Changeset 4dca606


Ignore:
Timestamp:
Jun 12, 2007, 11:04:37 AM (14 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e6fe92a5
Parents:
6bb748c
Message:

Updates from Upstream

Location:
udev
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • udev/40-modprobe.rules

    r6bb748c r4dca606  
    1919
    2020# 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"
     21SUBSYSTEM=="scsi_device",       ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
     22SUBSYSTEM=="scsi_device",       ACTION=="add", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
     23SUBSYSTEM=="scsi_device",       ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st"
     24SUBSYSTEM=="scsi_device",       ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod"
     25SUBSYSTEM=="scsi_device",       ACTION=="add", RUN+="/sbin/modprobe sg"
    2626
    2727# ide
    2828KERNEL=="hd*",          SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
    29 SUBSYSTEM=="ide",       ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
     29SUBSYSTEM=="ide",       ACTION=="add", ATTRS{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
    3030
    3131# floppy
     
    3535SUBSYSTEM=="mmc",       ACTION=="add", RUN+="/sbin/modprobe mmc_block"
    3636
     37
  • udev/50-udev.rules

    r6bb748c r4dca606  
    119119# sr:           4 TYPE_WORM, 5 TYPE_ROM
    120120# 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"
     121SUBSYSTEM=="scsi",              KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
     122SUBSYSTEM=="scsi",              KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900
    123123
    124124# misc storage devices (non-block)
     
    149149# libusb device access
    150150SUBSYSTEM=="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  
    2626IMPORT{program}="/sbin/dmsetup export -j%M -m%m"
    2727ENV{DM_STATE}!="ACTIVE",                        GOTO="device_mapper_end"
    28 ENV{DM_TARGET_TYPES}=="|*snapshot*|*error*",    GOTO="device_mapper_end"
     28ENV{DM_TARGET_TYPES}=="|*error*",               GOTO="device_mapper_end"
    2929
    3030SYMLINK+="disk/by-id/dm-name-$env{DM_NAME}"
Note: See TracChangeset for help on using the changeset viewer.