]>
Commit | Line | Data |
---|---|---|
ca6b98ae LP |
1 | <?xml version="1.0"?> |
2 | <!--*-nxml-*--> | |
12b42c76 | 3 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> |
ca6b98ae | 4 | <!-- |
572eb058 | 5 | SPDX-License-Identifier: LGPL-2.1+ |
ca6b98ae LP |
6 | --> |
7 | <refentry id="systemd-remount-fs.service"> | |
8 | ||
798d3a52 ZJS |
9 | <refentryinfo> |
10 | <title>systemd-remount-fs.service</title> | |
11 | <productname>systemd</productname> | |
798d3a52 | 12 | </refentryinfo> |
ca6b98ae | 13 | |
798d3a52 ZJS |
14 | <refmeta> |
15 | <refentrytitle>systemd-remount-fs.service</refentrytitle> | |
16 | <manvolnum>8</manvolnum> | |
17 | </refmeta> | |
ca6b98ae | 18 | |
798d3a52 ZJS |
19 | <refnamediv> |
20 | <refname>systemd-remount-fs.service</refname> | |
21 | <refname>systemd-remount-fs</refname> | |
22 | <refpurpose>Remount root and kernel file systems</refpurpose> | |
23 | </refnamediv> | |
ca6b98ae | 24 | |
798d3a52 ZJS |
25 | <refsynopsisdiv> |
26 | <para><filename>systemd-remount-fs.service</filename></para> | |
12b42c76 | 27 | <para><filename>/usr/lib/systemd/systemd-remount-fs</filename></para> |
798d3a52 | 28 | </refsynopsisdiv> |
ca6b98ae | 29 | |
798d3a52 ZJS |
30 | <refsect1> |
31 | <title>Description</title> | |
ca6b98ae | 32 | |
17ec531f ZJS |
33 | <para><filename>systemd-remount-fs.service</filename> is an early boot service that applies mount options |
34 | listed in <citerefentry | |
35 | project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, or | |
36 | gathered from the partition table (when | |
37 | <citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
38 | is active) to the root file system, the <filename>/usr</filename> file system, and the kernel API file | |
39 | systems. This is required so that the mount options of these file systems — which are pre-mounted by the | |
40 | kernel, the initial RAM disk, container environments or system manager code — are updated to those | |
41 | configured in <filename>/etc/fstab</filename> and the other sources. This service ignores normal file | |
42 | systems and only changes the root file system (i.e. <filename>/</filename>), <filename>/usr</filename>, | |
43 | and the virtual kernel API file systems such as <filename>/proc</filename>, <filename>/sys</filename> or | |
44 | <filename>/dev</filename>. This service executes no operation if no configuration is found | |
45 | (<filename>/etc/fstab</filename> does not exist or lists no entries for the mentioned file systems, or | |
46 | the partition table does not contain relevant entries).</para> | |
236bc757 | 47 | |
798d3a52 | 48 | <para>For a longer discussion of kernel API file systems see |
28a0ad81 | 49 | <ulink url="https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems">API |
798d3a52 | 50 | File Systems</ulink>.</para> |
9b69569d ZJS |
51 | |
52 | <para>Note: <filename>systemd-remount-fs.service</filename> is usually pulled in by | |
53 | <citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
54 | hence it is also affected by the kernel command line option <varname>fstab=</varname>, which may be used | |
55 | to disable the generator. It may also pulled in by | |
56 | <citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
57 | which is affected by <varname>systemd.gpt_auto</varname> and other options.</para> | |
798d3a52 | 58 | </refsect1> |
ca6b98ae | 59 | |
798d3a52 ZJS |
60 | <refsect1> |
61 | <title>See Also</title> | |
62 | <para> | |
63 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
3ba3a79d | 64 | <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
9b69569d ZJS |
65 | <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>, |
66 | <citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
67 | <citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
798d3a52 ZJS |
68 | </para> |
69 | </refsect1> | |
ca6b98ae LP |
70 | |
71 | </refentry> |