summaryrefslogtreecommitdiff
path: root/man/bootctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-07-19 20:19:20 +0200
committerLennart Poettering <lennart@poettering.net>2016-07-21 11:37:58 +0200
commit2f2c539cd4af7ca526296adecff2a6f90d7d7b0c (patch)
treeac362ba1848eeada8860aa96a09c63d9372b0319 /man/bootctl.xml
parentc18532e031d2923e095a189999c289be13aea7b8 (diff)
bootctl: rework to use common verbs parsing, and add searching of ESP path
This rearranges bootctl a bit, so that it uses the usual verbs parsing routines, and automatically searches the ESP in /boot, /efi or /boot/efi, thus increasing compatibility with mainstream distros that insist on /boot/efi. This also adds minimal support for running bootctl in a container environment: when run inside a container verification of the ESP via raw block device access, trusting the container manager to mount the ESP correctly. Moreover, EFI variables are not accessed when running in the container.
Diffstat (limited to 'man/bootctl.xml')
-rw-r--r--man/bootctl.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/bootctl.xml b/man/bootctl.xml
index 6e835c037f..82c162ee70 100644
--- a/man/bootctl.xml
+++ b/man/bootctl.xml
@@ -101,8 +101,10 @@
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
<varlistentry>
- <term><option>--path</option></term>
- <listitem><para>Path to the EFI system partition. The default is /boot.</para></listitem>
+ <term><option>--path=</option></term>
+ <listitem><para>Path to the EFI System Partition (ESP). If not specified, <filename>/efi</filename>,
+ <filename>/boot</filename>, and <filename>/boot/efi</filename> are checked in turn. It is recommended to mount
+ the ESP to <filename>/boot</filename>, if possible.</para></listitem>
</varlistentry>
<varlistentry>