]>
Commit | Line | Data |
---|---|---|
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 ZJS |
5 | SPDX-License-Identifier: LGPL-2.1+ |
6 | ||
ca6b98ae LP |
7 | This file is part of systemd. |
8 | ||
9 | Copyright 2012 Lennart Poettering | |
10 | ||
11 | systemd is free software; you can redistribute it and/or modify it | |
12 | under the terms of the GNU Lesser General Public License as published by | |
13 | the Free Software Foundation; either version 2.1 of the License, or | |
14 | (at your option) any later version. | |
15 | ||
16 | systemd is distributed in the hope that it will be useful, but | |
17 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
19 | Lesser General Public License for more details. | |
20 | ||
21 | You should have received a copy of the GNU Lesser General Public License | |
22 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
23 | --> | |
24 | <refentry id="systemd-remount-fs.service"> | |
25 | ||
798d3a52 ZJS |
26 | <refentryinfo> |
27 | <title>systemd-remount-fs.service</title> | |
28 | <productname>systemd</productname> | |
ca6b98ae | 29 | |
798d3a52 ZJS |
30 | <authorgroup> |
31 | <author> | |
32 | <contrib>Developer</contrib> | |
33 | <firstname>Lennart</firstname> | |
34 | <surname>Poettering</surname> | |
35 | <email>lennart@poettering.net</email> | |
36 | </author> | |
37 | </authorgroup> | |
38 | </refentryinfo> | |
ca6b98ae | 39 | |
798d3a52 ZJS |
40 | <refmeta> |
41 | <refentrytitle>systemd-remount-fs.service</refentrytitle> | |
42 | <manvolnum>8</manvolnum> | |
43 | </refmeta> | |
ca6b98ae | 44 | |
798d3a52 ZJS |
45 | <refnamediv> |
46 | <refname>systemd-remount-fs.service</refname> | |
47 | <refname>systemd-remount-fs</refname> | |
48 | <refpurpose>Remount root and kernel file systems</refpurpose> | |
49 | </refnamediv> | |
ca6b98ae | 50 | |
798d3a52 ZJS |
51 | <refsynopsisdiv> |
52 | <para><filename>systemd-remount-fs.service</filename></para> | |
12b42c76 | 53 | <para><filename>/usr/lib/systemd/systemd-remount-fs</filename></para> |
798d3a52 | 54 | </refsynopsisdiv> |
ca6b98ae | 55 | |
798d3a52 ZJS |
56 | <refsect1> |
57 | <title>Description</title> | |
ca6b98ae | 58 | |
798d3a52 | 59 | <para><filename>systemd-remount-fs.service</filename> is an |
b938cb90 | 60 | early boot service that applies mount options listed in |
3ba3a79d | 61 | <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry> |
35c0808f | 62 | to the root file system, the <filename>/usr</filename> file system, |
798d3a52 | 63 | and the kernel API file systems. This is required so that the |
35c0808f | 64 | mount options of these file systems — which are pre-mounted by |
798d3a52 | 65 | the kernel, the initial RAM disk, container environments or system |
35c0808f | 66 | manager code — are updated to those listed in |
798d3a52 ZJS |
67 | <filename>/etc/fstab</filename>. This service ignores normal file |
68 | systems and only changes the root file system (i.e. | |
69 | <filename>/</filename>), <filename>/usr</filename> and the virtual | |
70 | kernel API file systems such as <filename>/proc</filename>, | |
71 | <filename>/sys</filename> or <filename>/dev</filename>. This | |
72 | service executes no operation if <filename>/etc/fstab</filename> | |
73 | does not exist or lists no entries for the mentioned file | |
74 | systems.</para> | |
236bc757 | 75 | |
798d3a52 | 76 | <para>For a longer discussion of kernel API file systems see |
28a0ad81 | 77 | <ulink url="https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems">API |
798d3a52 ZJS |
78 | File Systems</ulink>.</para> |
79 | </refsect1> | |
ca6b98ae | 80 | |
798d3a52 ZJS |
81 | <refsect1> |
82 | <title>See Also</title> | |
83 | <para> | |
84 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
3ba3a79d ZJS |
85 | <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>, |
86 | <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
798d3a52 ZJS |
87 | </para> |
88 | </refsect1> | |
ca6b98ae LP |
89 | |
90 | </refentry> |