diff options
Diffstat (limited to 'udev-config/55-lfs.rules')
-rw-r--r-- | udev-config/55-lfs.rules | 4 |
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" |