]> git.ipfire.org Git - thirdparty/systemd.git/blob - man/systemd-remount-fs.service.xml
Merge pull request #8700 from keszybz/hibernation
[thirdparty/systemd.git] / man / systemd-remount-fs.service.xml
1 <?xml version="1.0"?>
2 <!--*-nxml-*-->
3 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4 <!--
5 SPDX-License-Identifier: LGPL-2.1+
6
7 This file is part of systemd.
8
9 Copyright 2012 Lennart Poettering
10 -->
11 <refentry id="systemd-remount-fs.service">
12
13 <refentryinfo>
14 <title>systemd-remount-fs.service</title>
15 <productname>systemd</productname>
16
17 <authorgroup>
18 <author>
19 <contrib>Developer</contrib>
20 <firstname>Lennart</firstname>
21 <surname>Poettering</surname>
22 <email>lennart@poettering.net</email>
23 </author>
24 </authorgroup>
25 </refentryinfo>
26
27 <refmeta>
28 <refentrytitle>systemd-remount-fs.service</refentrytitle>
29 <manvolnum>8</manvolnum>
30 </refmeta>
31
32 <refnamediv>
33 <refname>systemd-remount-fs.service</refname>
34 <refname>systemd-remount-fs</refname>
35 <refpurpose>Remount root and kernel file systems</refpurpose>
36 </refnamediv>
37
38 <refsynopsisdiv>
39 <para><filename>systemd-remount-fs.service</filename></para>
40 <para><filename>/usr/lib/systemd/systemd-remount-fs</filename></para>
41 </refsynopsisdiv>
42
43 <refsect1>
44 <title>Description</title>
45
46 <para><filename>systemd-remount-fs.service</filename> is an
47 early boot service that applies mount options listed in
48 <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
49 to the root file system, the <filename>/usr</filename> file system,
50 and the kernel API file systems. This is required so that the
51 mount options of these file systems — which are pre-mounted by
52 the kernel, the initial RAM disk, container environments or system
53 manager code — are updated to those listed in
54 <filename>/etc/fstab</filename>. This service ignores normal file
55 systems and only changes the root file system (i.e.
56 <filename>/</filename>), <filename>/usr</filename> and the virtual
57 kernel API file systems such as <filename>/proc</filename>,
58 <filename>/sys</filename> or <filename>/dev</filename>. This
59 service executes no operation if <filename>/etc/fstab</filename>
60 does not exist or lists no entries for the mentioned file
61 systems.</para>
62
63 <para>For a longer discussion of kernel API file systems see
64 <ulink url="https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems">API
65 File Systems</ulink>.</para>
66 </refsect1>
67
68 <refsect1>
69 <title>See Also</title>
70 <para>
71 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
72 <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
73 <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
74 </para>
75 </refsect1>
76
77 </refentry>