← Commit list

db57fc22a

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2009-09-08
FAILED Duration: 36s

Subject

Add ENABLE_FEATURE_MDEV_RENAME_REGEXP examples to mdev documentation

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/mdev.txt+12 -0
@@ -79,6 +79,18 @@ the format:
<device regex> <uid>:<gid> <octal permissions> [=path] [@|$|*<command>]
or
<device regex> <uid>:<gid> <octal permissions> [>path] [@|$|*<command>]
+
+For example:
+---8<---
+# block devices
+([hs]d[a-z]) root:disk 660 >disk/%1/0
+([hs]d[a-z])([0-9]+) root:disk 660 >disk/%1/%2
+mmcblk([0-9]+) root:disk 660 >disk/mmc/%1/0
+mmcblk([0-9]+)p([0-9]+) root:disk 660 >disk/mmc/%1/%2
+# network devices
+(tun|tap) root:network 660 >net/%1
+---8<---
+
The special characters have the meaning:
@ Run after creating the device.
$ Run before removing the device.