aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2008-10-15 03:02:25 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2008-10-15 03:02:25 +0000
commita4e48686a678c0043acbe12b93662c0944cecf2a (patch)
treedd21436013566c7a510f878691242cba92af7740 /udev-config
parentd75c1237e7ab8e4a6ad713f922f1e451ed7902a9 (diff)
Override floppy rules in udev-130.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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