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