Changeset 103e3eb


Ignore:
Timestamp:
Feb 21, 2006, 1:50:52 AM (17 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:
073be62
Parents:
691a65c
Message:

r943@server (orig r941): jim | 2005-12-20 00:11:03 -0800

r1154@server: jim | 2005-12-20 00:10:39 -0800
Updates from Upstream


Location:
udev
Files:
1 deleted
7 edited
1 moved

Legend:

Unmodified
Added
Removed
  • udev/50-udev.rules

    r691a65c r103e3eb  
    175175
    176176# kernel firmware loader
    177 SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
     177SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware_helper"
  • udev/60-persistent.rules

    r691a65c r103e3eb  
    6060KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
    6161
    62 KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noheadings -o name -j %M -m %m", SYMLINK="disk/by-name/%c"
     62KERNEL=="dm-[0-9]*", ACTION=="add", PROGRAM="/sbin/dmsetup info -c --noopencount --noheadings -o name -j %M -m %m", SYMLINK="disk/by-name/%c"
    6363
    6464LABEL="persistent_end"
  • udev/85-mount-fstab.rules

    r691a65c r103e3eb  
    1515########################################################################
    1616
    17 ENV{SYSCONFIG}=="no|off|0", GOTO="sysconfig_end"
    18 
    19 # network devices
    20 KERNEL=="tun", NAME="net/%k", MODE="0600"
    21 SUBSYSTEM=="net", ACTION=="add", RUN+="/sbin/ifup $env{INTERFACE} -o hotplug"
    22 SUBSYSTEM=="net", ACTION=="remove", RUN+="/sbin/ifdown %k -o hotplug"
    23 
    24 LABEL="sysconfig_end"
     17SUBSYSTEM=="block", ACTION=="add", KERNEL=="sd*[0-9]|hd*[0-9]", RUN+="mount.sh"
  • udev/95-debug.rules

    r691a65c r103e3eb  
    1616
    1717# debug events to /events, but not on default udev_log="err"
    18 ENV{UDEV_LOG}=="[4-9]", RUN+="/lib/udev/eventrecorder.sh"
     18ENV{UDEV_LOG}=="[4-9]", RUN+="eventrecorder.sh"
    1919
    2020# event to be catched by udevmonitor
  • udev/Makefile

    r691a65c r103e3eb  
    1313        install -m ${RULESMODE} 50-udev.rules ${DESTDIR}/etc/udev/rules.d/50-udev.rules
    1414        install -m ${RULESMODE} 60-persistent.rules ${DESTDIR}/etc/udev/rules.d/60-persistent.rules
    15         install -m ${RULESMODE} 80-sysconfig.rules ${DESTDIR}/etc/udev/rules.d/80-sysconfig.rules
     15        install -m ${RULESMODE} 85-mount-fstab.rules ${DESTDIR}/etc/udev/rules.d/85-mount-fstab.rules
    1616        install -m ${RULESMODE} 95-debug.rules ${DESTDIR}/etc/udev/rules.d/95-debug.rules
    1717
     
    2020        install -m ${SCRIPTMODE} load_floppy_module.sh ${DESTDIR}/lib/udev/load_floppy_module.sh
    2121        install -m ${SCRIPTMODE} ide.sh ${DESTDIR}/lib/udev/ide.sh
    22         install -m ${SCRIPTMODE} firmware.sh ${DESTDIR}/lib/udev/firmware.sh
    2322        install -m ${SCRIPTMODE} input.sh ${DESTDIR}/lib/udev/input.sh
    2423        install -m ${SCRIPTMODE} mount.sh ${DESTDIR}/lib/udev/mount.sh
  • udev/show_event_log

    r691a65c r103e3eb  
    6969
    7070# list all events
    71 (read x; while read x s x x x c x; read x s2 x a d; do echo $s $s2 $a $c $d; done) < <( sed -n "s/^.*udev.*\(seq [0-9]* [qf].*$\)/\1/p" /var/log/messages | sort -n -k 2 | tr -d ',' )   
     71(read x; while read x s x x x c x; read x s2 x a d; do echo $s $s2 $a $c $d; done) < <( sed -n "s/^.*udev.*\(seq [0-9]* [qf].*$\)/\1/p" /var/log/messages | sort -n -k 2 | tr -d ',' )
    7272
    7373./show_event_log 1 last > boot.events.log.`date +%A_%H:%M` 2> boot.events.list.`date +%A_%H:%M`
  • udev/udev

    r691a65c r103e3eb  
    2727        for i in $list; do
    2828            case "$i" in
    29                 */device/uevent)
     29                */device/uevent|*\**)
    3030                    # skip followed device symlinks
    3131                    continue
     
    7474        trigger_device_events
    7575
    76         # until we know how to do better, we wait for all events to finish
    77         loop=0
     76        # until we know how to do better, just wait for _all_ events to finish
     77        loop=300
    7878        while test -d /dev/.udev/queue; do
    7979            sleep 0.1;
    80             test "$loop" -gt 300 && break
    81             loop=$(($loop + 1))
     80            test "$loop" -gt 0 || break
     81            loop=$(($loop - 1))
    8282        done
    8383
  • udev/udev.makechanges

    r691a65c r103e3eb  
    11Udev will need to be made with the following extras
    22
     3extras/firmware_helper
    34extras/scsi_id
    45extras/volume_id
Note: See TracChangeset for help on using the changeset viewer.