aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config
diff options
context:
space:
mode:
Diffstat (limited to 'udev-config')
-rw-r--r--udev-config/55-lfs.rules2
-rw-r--r--udev-config/61-cdrom.rules2
-rw-r--r--udev-config/ChangeLog2
3 files changed, 4 insertions, 2 deletions
diff --git a/udev-config/55-lfs.rules b/udev-config/55-lfs.rules
index d26d0d315..064aad332 100644
--- a/udev-config/55-lfs.rules
+++ b/udev-config/55-lfs.rules
@@ -84,4 +84,4 @@ KERNEL=="st[0-9]*", GROUP="tape"
KERNEL=="nst[0-9]*", GROUP="tape"
# Override floppy devices
-KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
+KERNEL=="fd[0-9]", ACTION=="add|change", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
diff --git a/udev-config/61-cdrom.rules b/udev-config/61-cdrom.rules
index 8bf6a4338..4db9efeb6 100644
--- a/udev-config/61-cdrom.rules
+++ b/udev-config/61-cdrom.rules
@@ -1,3 +1,3 @@
# /etc/udev/rules.d/61-cdrom.rules: Set CD-ROM permissions.
-ACTION=="add", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", GROUP="cdrom"
+ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_TYPE}=="cd", GROUP="cdrom"
diff --git a/udev-config/ChangeLog b/udev-config/ChangeLog
index e4fcd122e..87cac7eaf 100644
--- a/udev-config/ChangeLog
+++ b/udev-config/ChangeLog
@@ -2,6 +2,8 @@
* 55-lfs.rules: Remove several rules that are either provided by upstream,
or that don't have any effect (there is no /dev/js or /dev/djs according
to devices.txt).
+ * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change"
+ everywhere, per upstream's general request.
2008-11-11 Bryan Kadzban <bryan@linuxfromscratch.org>
* 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule