diff options
author | Scott James Remnant <scott@ubuntu.com> | 2009-01-20 21:33:02 +0000 |
---|---|---|
committer | Scott James Remnant <scott@netsplit.com> | 2009-01-20 21:33:02 +0000 |
commit | 5f03ed8a56d308af72db8a48ab66ed68667af2c6 (patch) | |
tree | 0677da5f63eeb76c8da17da2162e555ef1a80a10 /udev/udevd.xml | |
parent | fc7d16f993df6cef0e6038c63942d17994fde672 (diff) |
Allow user and group lookup to be disabled.
In certain cut-down situations such as an installer or inside the
initramfs, we simply don't have any kind of name service. While we
could use rules without OWNER or GROUP, it's better to have the same
rules as a full system and have udevd ignore those parts of the rules.
Adds a --resolve-names=never switch to udevd that has this effect.
Diffstat (limited to 'udev/udevd.xml')
-rw-r--r-- | udev/udevd.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/udev/udevd.xml b/udev/udevd.xml index b5726b8b03..010411c781 100644 --- a/udev/udevd.xml +++ b/udev/udevd.xml @@ -29,6 +29,7 @@ <arg><option>--debug-trace</option></arg> <arg><option>--debug</option></arg> <arg><option>--version</option></arg> + <arg><option>--resolve-names=early|never</option></arg> <arg><option>--help</option></arg> </cmdsynopsis> </refsynopsisdiv> @@ -65,6 +66,16 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--resolve-names</option></term> + <listitem> + <para>Specify when udevd should resolve names of users and groups. + When set to <option>early</option> (the default) names will be + resolved when the rules are parsed. + When set to <option>never</option> names will never be resolved + and all devices will be owned by root.</para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--version</option></term> <listitem> <para>Print version number.</para> |