diff options
author | Bryan Kadzban <bryan@linuxfromscratch.org> | 2008-12-07 17:37:27 +0000 |
---|---|---|
committer | Bryan Kadzban <bryan@linuxfromscratch.org> | 2008-12-07 17:37:27 +0000 |
commit | a9c6b8fdf1e3ec42870939324e7bd4d9b10e5ec4 (patch) | |
tree | 1336969208debe741e140042d12637662cb948cf /udev-config | |
parent | cd358b80691a40bc08d535402045d6f50d6c8eaf (diff) |
Replace "add" with "add|change" everywhere (for ACTION matches). Fixes #2270.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8771 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-config')
-rw-r--r-- | udev-config/55-lfs.rules | 2 | ||||
-rw-r--r-- | udev-config/61-cdrom.rules | 2 | ||||
-rw-r--r-- | udev-config/ChangeLog | 2 |
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 |