diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-05-18 11:39:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-05-18 11:39:57 +0200 |
commit | ea57f51819a358a6c1309cf028a1a2dcd90dd7a5 (patch) | |
tree | 91ae47398abb8401bc6cadb2eaff13e6d14acb33 /examples/mdev_fat.conf | |
parent | 516530c932bd17d87c9eb4347a490be051e495f4 (diff) | |
download | busybox-w32-ea57f51819a358a6c1309cf028a1a2dcd90dd7a5.tar.gz busybox-w32-ea57f51819a358a6c1309cf028a1a2dcd90dd7a5.tar.bz2 busybox-w32-ea57f51819a358a6c1309cf028a1a2dcd90dd7a5.zip |
mdev: when found, print major,minor into mdev.log
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/mdev_fat.conf')
-rw-r--r-- | examples/mdev_fat.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/mdev_fat.conf b/examples/mdev_fat.conf index df329b4b5..d67912ba1 100644 --- a/examples/mdev_fat.conf +++ b/examples/mdev_fat.conf | |||
@@ -7,10 +7,14 @@ | |||
7 | # instead of the default 0:0 660. | 7 | # instead of the default 0:0 660. |
8 | # | 8 | # |
9 | # Syntax: | 9 | # Syntax: |
10 | # [-]devicename_regex user:group mode [>|=path] [@|$|*cmd args...] | 10 | # [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] |
11 | # [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] | ||
12 | # [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...] | ||
11 | # | 13 | # |
14 | # [-]: do not stop on this match, continue reading mdev.conf | ||
12 | # =: move, >: move and create a symlink | 15 | # =: move, >: move and create a symlink |
13 | # @|$|*: run $cmd on delete, @cmd on create, *cmd on both | 16 | # !: do not create device node |
17 | # @|$|*: run cmd if $ACTION=remove, @cmd if $ACTION=add, *cmd in all cases | ||
14 | 18 | ||
15 | # support module loading on hotplug | 19 | # support module loading on hotplug |
16 | $MODALIAS=.* root:root 660 @modprobe "$MODALIAS" | 20 | $MODALIAS=.* root:root 660 @modprobe "$MODALIAS" |