summaryrefslogtreecommitdiffstats
path: root/rules.d/60-persistent-storage-mtd.rules
blob: bcf93b9a05f5cdcd7ee402e80172e71c2ac49b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# do not edit this file, it will be overwritten on update

# persistent storage links: /dev/mtd/by-name

ACTION=="remove", GOTO="persistent_storage_mtd_end"
SUBSYSTEM!="mtd", GOTO="persistent_storage_mtd_end"
KERNEL!="mtd[0-9]*", GOTO="persistent_storage_mtd_end"
KERNEL=="mtd[0-9]*ro", GOTO="persistent_storage_mtd_end"

ATTR{name}=="?*", SYMLINK+="mtd/by-name/$attr{name}"

LABEL="persistent_storage_mtd_end"