]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-remount-fs.service.xml
travis: add more ASan options
[thirdparty/systemd.git] / man / systemd-remount-fs.service.xml
CommitLineData
ca6b98ae
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
3a54a157
ZJS
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 5<!-- SPDX-License-Identifier: LGPL-2.1+ -->
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>
37 is active) to the root file system, the <filename>/usr</filename> file system, and the kernel API file
38 systems. This is required so that the mount options of these file systems — which are pre-mounted by the
39 kernel, the initial RAM disk, container environments or system manager code — are updated to those
40 configured in <filename>/etc/fstab</filename> and the other sources. This service ignores normal file
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
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>
61 <para>
62 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
3ba3a79d 63 <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
9b69569d
ZJS
64 <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
65 <citerefentry><refentrytitle>systemd-fstab-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
66 <citerefentry><refentrytitle>systemd-gpt-auto-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
798d3a52
ZJS
67 </para>
68 </refsect1>
ca6b98ae
LP
69
70</refentry>