1 diff -Nur rules.d/50-udev-default.rules rules.d.arch/50-udev-default.rules
2 --- rules.d/50-udev-default.rules 2009-03-07 22:22:48.200242883 +0100
3 +++ rules.d.arch/50-udev-default.rules 2009-03-07 22:23:26.134434516 +0100
7 KERNEL=="fd[0-9]", GROUP="floppy"
8 -KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"
9 -KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
10 +KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
11 +KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions", GROUP="floppy"
14 -SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="cdrom"
15 -SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="cdrom"
16 -SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="cdrom"
17 -KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k", GROUP="cdrom"
18 -KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="cdrom"
19 +SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n", GROUP="optical", MODE="0660"
20 +SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="optical", MODE="0660"
21 +SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", GROUP="optical", MODE="0660"
22 +KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k", GROUP="optical", MODE="0660"
23 +KERNEL=="pktcdvd", NAME="pktcdvd/control", GROUP="optical", MODE="0660"
26 -KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="tape"
27 -KERNEL=="pt[0-9]*|npt[0-9]*|pht[0-9]*", GROUP="tape"
28 -SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="tape"
29 +KERNEL=="ht[0-9]*|nht[0-9]*", GROUP="storage", MODE="0660"
30 +KERNEL=="pt[0-9]*|npt[0-9]*|pht[0-9]*", GROUP="storage", MODE="0660"
31 +SUBSYSTEM=="scsi_generic|scsi_tape", SUBSYSTEMS=="scsi", ATTRS{type}=="1|8", GROUP="storage", MODE="0660"
34 KERNEL=="sch[0-9]*", GROUP="disk"
36 KERNEL=="cpad[0-9]*", NAME="usb/%k"
38 # do not delete static device nodes
39 -ACTION=="remove", NAME=="?*", TEST=="/lib/udev/devices/$name", OPTIONS+="ignore_remove"
40 -ACTION=="remove", NAME=="", TEST=="/lib/udev/devices/%k", OPTIONS+="ignore_remove"
41 +ACTION=="remove", PROGRAM="ignore-remove.sh %r", OPTIONS+="ignore_remove"
42 diff -Nur rules.d/80-drivers.rules rules.d.arch/80-drivers.rules
43 --- rules.d/80-drivers.rules 2009-03-07 22:22:48.200242883 +0100
44 +++ rules.d.arch/80-drivers.rules 2009-03-07 22:22:54.757744454 +0100
47 ACTION!="add", GOTO="drivers_end"
49 -DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -b $env{MODALIAS}"
50 -SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/sbin/modprobe -b tifm_sd"
51 -SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN+="/sbin/modprobe -b tifm_ms"
52 -SUBSYSTEM=="memstick", RUN+="/sbin/modprobe -b --all ms_block mspro_block"
53 -SUBSYSTEM=="i2o", RUN+="/sbin/modprobe -b i2o_block"
54 -SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -b sg"
55 -SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/sbin/modprobe -b ppdev"
56 +DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/lib/udev/load-modules.sh $env{MODALIAS}"
57 +SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="SD", RUN+="/lib/udev/load-modules.sh tifm_sd"
58 +SUBSYSTEM=="tifm", ENV{TIFM_CARD_TYPE}=="MS", RUN+="/lib/udev/load-modules.sh tifm_ms"
59 +SUBSYSTEM=="memstick", RUN+="/lib/udev/load-modules.sh ms_block"
60 +SUBSYSTEM=="memstick", RUN+="/lib/udev/load-modules.sh mspro_block"
61 +SUBSYSTEM=="i2o", RUN+="/lib/udev/load-modules.sh i2o_block"
62 +SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/lib/udev/load-modules.sh sg"
63 +SUBSYSTEM=="module", KERNEL=="parport_pc", RUN+="/lib/udev/load-modules.sh ppdev"