summaryrefslogtreecommitdiff
path: root/udev.7
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-06-03 00:01:46 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-06-03 00:01:46 +0200
commit953249a3a01cbd442b42558168da6c76a92a0e40 (patch)
tree1b7c3d8c91da6cc04eec719badc9d099d2c3fa9e /udev.7
parent5e9eb88f2f6d99eaee16aeeb76ac08a1bf98a668 (diff)
add TEST=="<file>" key
Diffstat (limited to 'udev.7')
-rw-r--r--udev.75
1 files changed, 5 insertions, 0 deletions
diff --git a/udev.7 b/udev.7
index 4fbaf92432..a253581581 100644
--- a/udev.7
+++ b/udev.7
@@ -151,6 +151,11 @@ Match against the value of an environment variable. Up to five
keys can be specified per rule. Depending on the type of operator, this key is also used to export a variable to the environment.
.RE
.PP
+\fBTEST{\fR\fB\fIoctal mode mask\fR\fR\fB}\fR
+.RS 4
+Test the existence of a file. An octal mode mask can be specified if needed.
+.RE
+.PP
\fBPROGRAM\fR
.RS 4
Execute external program. The key is true, if the program returns with exit code zero. The whole event environment is available to the executed program. The program's output printed to stdout, is available in the RESULT key.