3 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
5 SPDX-License-Identifier: LGPL-2.1+
7 Copyright 2012 Lennart Poettering
9 <refentry id=
"systemd-remount-fs.service">
12 <title>systemd-remount-fs.service
</title>
13 <productname>systemd
</productname>
17 <contrib>Developer
</contrib>
18 <firstname>Lennart
</firstname>
19 <surname>Poettering
</surname>
20 <email>lennart@poettering.net
</email>
26 <refentrytitle>systemd-remount-fs.service
</refentrytitle>
27 <manvolnum>8</manvolnum>
31 <refname>systemd-remount-fs.service
</refname>
32 <refname>systemd-remount-fs
</refname>
33 <refpurpose>Remount root and kernel file systems
</refpurpose>
37 <para><filename>systemd-remount-fs.service
</filename></para>
38 <para><filename>/usr/lib/systemd/systemd-remount-fs
</filename></para>
42 <title>Description
</title>
44 <para><filename>systemd-remount-fs.service
</filename> is an
45 early boot service that applies mount options listed in
46 <citerefentry project='man-pages'
><refentrytitle>fstab
</refentrytitle><manvolnum>5</manvolnum></citerefentry>
47 to the root file system, the
<filename>/usr
</filename> file system,
48 and the kernel API file systems. This is required so that the
49 mount options of these file systems — which are pre-mounted by
50 the kernel, the initial RAM disk, container environments or system
51 manager code — are updated to those listed in
52 <filename>/etc/fstab
</filename>. This service ignores normal file
53 systems and only changes the root file system (i.e.
54 <filename>/
</filename>),
<filename>/usr
</filename> and the virtual
55 kernel API file systems such as
<filename>/proc
</filename>,
56 <filename>/sys
</filename> or
<filename>/dev
</filename>. This
57 service executes no operation if
<filename>/etc/fstab
</filename>
58 does not exist or lists no entries for the mentioned file
61 <para>For a longer discussion of kernel API file systems see
62 <ulink url=
"https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems">API
63 File Systems
</ulink>.
</para>
67 <title>See Also
</title>
69 <citerefentry><refentrytitle>systemd
</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
70 <citerefentry project='man-pages'
><refentrytitle>fstab
</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
71 <citerefentry project='man-pages'
><refentrytitle>mount
</refentrytitle><manvolnum>8</manvolnum></citerefentry>