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