chiark / gitweb /
mtd_probe: add needed include, modprobe blacklist flag, and change some whitespace
[elogind.git] / extras / mtd_probe / 75-probe_mtd.rules
index 1d1b398175d337287ee621a24006eebb27c3297d..184fda58a921fb2585424f60f64780d981e9b0b8 100644 (file)
@@ -1,10 +1,8 @@
-#probe mtd devices for FTL
+# do not edit this file, it will be overwritten on update
 
 ACTION!="add", GOTO="mtd_probe_end"
 
 KERNEL=="mtd*ro", IMPORT{program}="mtd_probe $tempnode"
-KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe sm_ftl"
-
+KERNEL=="mtd*ro", ENV{MTD_FTL}=="smartmedia", RUN+="/sbin/modprobe -bv sm_ftl"
 
 LABEL="mtd_probe_end"
-