summaryrefslogtreecommitdiff
path: root/man/systemd-machine-id-setup.xml
diff options
context:
space:
mode:
authorGreg KH <gregkh@linuxfoundation.org>2014-03-14 04:43:04 +0000
committerTom Gundersen <teg@jklm.no>2014-03-14 12:44:17 +0100
commit92f2f92edcad46ce4098ee26504edca0a1dad68e (patch)
tree9ad2337000ed976c22f42adf19595800671824a2 /man/systemd-machine-id-setup.xml
parent06f021a8048583d66202e3ac5cd0a12386d33ac2 (diff)
machine-id: add --root option to operate on an alternate fs tree
This makes it possible to initialize the /etc/machine-id file on an arbitrary filesystem hierarchy. This helps systems that wish to run this at image creation time in a subdirectory, or from initramfs before pivot-root is called. [tomegun: converted to using _cleanup_free_ macros]
Diffstat (limited to 'man/systemd-machine-id-setup.xml')
-rw-r--r--man/systemd-machine-id-setup.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/systemd-machine-id-setup.xml b/man/systemd-machine-id-setup.xml
index 5c34b345d0..b879b40b99 100644
--- a/man/systemd-machine-id-setup.xml
+++ b/man/systemd-machine-id-setup.xml
@@ -96,6 +96,14 @@
<para>The following options are understood:</para>
<variablelist>
+ <varlistentry>
+ <term><option>--root=ROOT</option></term>
+ <listitem><para>Takes a directory path
+ as an argument. All paths will be
+ prefixed with the given alternate ROOT
+ path, including config search paths.
+ </para></listitem>
+ </varlistentry>
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>