aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config
diff options
context:
space:
mode:
Diffstat (limited to 'udev-config')
-rw-r--r--udev-config/55-lfs.rules4
-rw-r--r--udev-config/ChangeLog5
2 files changed, 9 insertions, 0 deletions
diff --git a/udev-config/55-lfs.rules b/udev-config/55-lfs.rules
index d920008fc..a1750150d 100644
--- a/udev-config/55-lfs.rules
+++ b/udev-config/55-lfs.rules
@@ -99,3 +99,7 @@ KERNEL=="pt[0-9]*", GROUP="tape"
KERNEL=="npt[0-9]*", GROUP="tape"
KERNEL=="st[0-9]*", GROUP="tape"
KERNEL=="nst[0-9]*", GROUP="tape"
+
+# Override floppy devices
+KERNEL=="fd[0-9]", GROUP="floppy"
+KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0660 -G floppy $root/%k"
diff --git a/udev-config/ChangeLog b/udev-config/ChangeLog
index c7a0df19a..2d9406758 100644
--- a/udev-config/ChangeLog
+++ b/udev-config/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-14 DJ Lucas <dj@linuxfromscratch.org>
+ * 55-lfs.rules: Override default perms on floppy disk devices provided
+ by 50-udev-default.rules. Thanks to Bruce Dubbs for the fix. Closes
+ LFS ticket #2076.
+
2008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org>
* 81-firmware.rules, doc/81-firmware.txt: Remove. This rule is
already handled by udev's 50-udev-default.rules file. The docs