summaryrefslogtreecommitdiff
path: root/extras/floppy
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-12-15 15:07:25 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-12-15 15:07:25 +0100
commit78171d9549fafdfc1e29d30915104a3ad55e116b (patch)
tree32559b4a6f477e6f91733192359c35deb7d36ce1 /extras/floppy
parent3fac12b9a05f1849f7b1373060ade18269839856 (diff)
floppy: fix rule to create additional floppy device nodes
Diffstat (limited to 'extras/floppy')
-rw-r--r--extras/floppy/60-floppy.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/floppy/60-floppy.rules b/extras/floppy/60-floppy.rules
new file mode 100644
index 0000000000..3123bb55fd
--- /dev/null
+++ b/extras/floppy/60-floppy.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+SUBSYSTEM=="block", KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", ENV{CMOS_TYPE}="$attr{cmos}", \
+ RUN+="create_floppy_devices -c -t $env{CMOS_TYPE} -m %M -M 0640 -G floppy $root/%k"