aboutsummaryrefslogtreecommitdiffstats
path: root/udev-config/55-lfs.rules
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/55-lfs.rules
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/55-lfs.rules')
-rw-r--r--udev-config/55-lfs.rules4
1 files changed, 4 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"