X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev.7;h=a25358158143c3ef63da0178bb738c8c4479cc44;hp=4fbaf924320b64f874bf975cdc9f618409c3c48b;hb=e883be3e1387328c5042bc76c18e7beb157bbddc;hpb=5e9eb88f2f6d99eaee16aeeb76ac08a1bf98a668 diff --git a/udev.7 b/udev.7 index 4fbaf9243..a25358158 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.