summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-09-16 03:42:37 +0200
committerGitHub <noreply@github.com>2024-09-16 03:42:37 +0200
commit590f430cac197de22548562d22b216403eb4626a (patch)
tree53a78e363fe6d2e5d4d7e9b4589728bda713cdc9 /man
parentbasic/build: also include BTF status (diff)
parentudev-rules: support case insensitive match (diff)
downloadsystemd-590f430cac197de22548562d22b216403eb4626a.tar.xz
systemd-590f430cac197de22548562d22b216403eb4626a.zip
Merge pull request #34425 from yuwata/udev-rules-case-insensitive-match
udev-rules: support case insensitive match
Diffstat (limited to 'man')
-rw-r--r--man/udev.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 6719c1b1c2..e6c0e23ed4 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -141,6 +141,12 @@
For example, e"string\n" is parsed as 7 characters: 6 lowercase letters and a newline.
This can be useful for writing special characters when a kernel driver requires them.</para>
+ <para>The string can be prefixed with a lowercase i (i"string") to mark that the string or pattern
+ will match case-insensitively. For example, i"foo" will match
+ <literal>foo</literal>, <literal>FOO</literal>, <literal>FoO</literal> and so on. The prefix can be
+ used only for match (<literal>==</literal>) or unmatch (<literal>!=</literal>) rules, e.g.
+ <varname>ATTR{foo}==i"abcd"</varname>.</para>
+
<para>Please note that <constant>NUL</constant> is not allowed in either string variant.</para>
</refsect2>