Changeset 5b4b253 for udev


Ignore:
Timestamp:
Mar 23, 2007, 9:06:03 AM (18 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:
aa18ac0
Parents:
277483d
Message:

Update with new Rules from Kay

Location:
udev
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • udev/05-udev-early.rules

    r277483d r5b4b253  
    2323#
    2424ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
    25 ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
     25ACTION=="add", SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", WAIT_FOR_SYSFS="ioerr_cnt"
    2626ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"
  • udev/50-udev.rules

    r277483d r5b4b253  
    118118
    119119# fix floppy devices
    120 KERNEL=="fd[0-9]*",             ACTION=="add", GROUP="floppy", MODE="660"
    121 KERNEL=="fd[0-9]*",             ACTION=="remove", RUN+="/bin/rm -f $root/%k*"
     120KERNEL=="nvram",                ACTION=="add", RUN+="load_floppy_module.sh"
     121KERNEL=="fd[0-9]*",             ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
    122122
    123123# sd:           0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
     
    146146KERNEL=="evms/block_device*",   GROUP="disk"
    147147KERNEL=="rawctl*",              GROUP="disk"
    148 SUBSYSTEM=="block",             KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
     148SUBSYSTEM=="raw",               KERNEL=="raw[0-9]*", NAME="raw/%k", GROUP="disk"
    149149KERNEL=="osst*|nosst*",         GROUP="tape"
    150150KERNEL=="iseries/vt*",          GROUP="disk"
  • udev/60-persistent-disk.rules

    r277483d r5b4b253  
    1919
    2020ACTION!="add",          GOTO="persistent_storage_end"
     21
     22KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
     23KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
     24KERNEL=="nst[0-9]", SUBSYSTEMS=="scsi", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}-nst"
     25
     26# type 8 devices are "Medium Changers"
     27KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
     28KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
     29KERNEL=="sg*", SUBSYSTEMS=="scsi", ATTRS{type}=="8", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
     30
    2131SUBSYSTEM!="block",     GOTO="persistent_storage_end"
    2232
     
    3747KERNEL=="hd*[!0-9]",    IMPORT{program}="ata_id --export $tempnode"
    3848KERNEL=="hd*[!0-9]",    ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
    39 KERNEL=="hd*[0-9]",     IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"
     49KERNEL=="hd*[0-9]",     SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"
    4050
    41 KERNEL=="sd*[!0-9]|sr*|st*",            ATTRS{ieee1394_id}=="*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_BUS}="ieee1394"
    42 KERNEL=="sd*[!0-9]|sr*|st*",            ENV{ID_SERIAL}=="", IMPORT{program}="usb_id -x"
    43 KERNEL=="sd*[!0-9]|sr*|st*",            ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
    44 KERNEL=="sd*[!0-9]|sr*|st*",            ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
    45 KERNEL=="dasd*[!0-9]",                  IMPORT{program}="dasd_id --export $tempnode"
    46 KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]",    ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
    47 KERNEL=="sd*[0-9]|dasd*[0-9]",          ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
    48 KERNEL=="st*",                          ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
     51KERNEL=="sd*[!0-9]|sr*|st*",    ATTRS{ieee1394_id}=="?*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_BUS}="ieee1394"
     52KERNEL=="sd*[!0-9]|sr*|st*",    ENV{ID_SERIAL}=="", IMPORT{program}="usb_id -x"
     53KERNEL=="sd*[!0-9]|sr*|st*",    ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
     54KERNEL=="sd*[!0-9]|sr*|st*",    ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
     55KERNEL=="sd*[!0-9]|sr*",        ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
     56KERNEL=="sd*[0-9]",             ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
     57KERNEL=="sd*[!0-9]|sr*",        ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}"
     58KERNEL=="sd*[0-9]",             ENV{ID_SERIAL}=="?*", ENV{ID_VENDOR}=="ATA", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL_SHORT}-part%n"
     59
     60KERNEL=="mmcblk[0-9]",          ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}", SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}"
     61KERNEL=="mmcblk[0-9]p[0-9]",    ATTR{name}=="?*", ATTR{serial}=="?*", ENV{ID_NAME}="$attr{name}", ENV{ID_SERIAL}="$attr{serial}",  SYMLINK+="disk/by-id/mmc-$env{ID_NAME}_$env{ID_SERIAL}-part%n"
    4962
    5063# by-path (shortest physical path)
Note: See TracChangeset for help on using the changeset viewer.