-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #267 from schiffermtq/persistent-mtd
rules: add mtd/by-name symlinks
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters