]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-remount-fs.service.xml
core: introduce new Type=exec service type
[thirdparty/systemd.git] / man / systemd-remount-fs.service.xml
CommitLineData
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
798d3a52 33 <para><filename>systemd-remount-fs.service</filename> is an
b938cb90 34 early boot service that applies mount options listed in
3ba3a79d 35 <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
35c0808f 36 to the root file system, the <filename>/usr</filename> file system,
798d3a52 37 and the kernel API file systems. This is required so that the
35c0808f 38 mount options of these file systems — which are pre-mounted by
798d3a52 39 the kernel, the initial RAM disk, container environments or system
35c0808f 40 manager code — are updated to those listed in
798d3a52
ZJS
41 <filename>/etc/fstab</filename>. This service ignores normal file
42 systems and only changes the root file system (i.e.
43 <filename>/</filename>), <filename>/usr</filename> and the virtual
44 kernel API file systems such as <filename>/proc</filename>,
45 <filename>/sys</filename> or <filename>/dev</filename>. This
46 service executes no operation if <filename>/etc/fstab</filename>
47 does not exist or lists no entries for the mentioned file
48 systems.</para>
236bc757 49
798d3a52 50 <para>For a longer discussion of kernel API file systems see
28a0ad81 51 <ulink url="https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems">API
798d3a52
ZJS
52 File Systems</ulink>.</para>
53 </refsect1>
ca6b98ae 54
798d3a52
ZJS
55 <refsect1>
56 <title>See Also</title>
57 <para>
58 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
3ba3a79d
ZJS
59 <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
60 <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
798d3a52
ZJS
61 </para>
62 </refsect1>
ca6b98ae
LP
63
64</refentry>