From a4e48686a678c0043acbe12b93662c0944cecf2a Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Wed, 15 Oct 2008 03:02:25 +0000 Subject: Override floppy rules in udev-130. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- udev-config/55-lfs.rules | 4 ++++ udev-config/ChangeLog | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'udev-config') 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 + * 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 * 81-firmware.rules, doc/81-firmware.txt: Remove. This rule is already handled by udev's 50-udev-default.rules file. The docs -- cgit v1.2.3-54-g00ecf