mirror of
https://git.proxmox.com/git/systemd
synced 2025-06-02 09:34:03 +00:00
170 lines
4.0 KiB
Groff
170 lines
4.0 KiB
Groff
'\" t
|
|
.TH "SYSTEMD\-FSTAB\-GENERATOR" "8" "" "systemd 219" "systemd-fstab-generator"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * Define some portability stuff
|
|
.\" -----------------------------------------------------------------
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.\" http://bugs.debian.org/507673
|
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NAME"
|
|
systemd-fstab-generator \- Unit generator for /etc/fstab
|
|
.SH "SYNOPSIS"
|
|
.PP
|
|
/usr/lib/systemd/system\-generators/systemd\-fstab\-generator
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
systemd\-fstab\-generator
|
|
is a generator that translates
|
|
/etc/fstab
|
|
(see
|
|
\fBfstab\fR(5)
|
|
for details) into native systemd units early at boot and when configuration of the system manager is reloaded\&. This will instantiate mount and swap units as necessary\&.
|
|
.PP
|
|
The
|
|
\fIpassno\fR
|
|
field is treated like a simple boolean, and the ordering information is discarded\&. However, if the root file system is checked, it is checked before all the other file systems\&.
|
|
.PP
|
|
See
|
|
\fBsystemd.mount\fR(5)
|
|
and
|
|
\fBsystemd.swap\fR(5)
|
|
for more information about special
|
|
/etc/fstab
|
|
mount options this generator understands\&.
|
|
.PP
|
|
systemd\-fstab\-generator
|
|
implements the
|
|
\m[blue]\fBgenerator specification\fR\m[]\&\s-2\u[1]\d\s+2\&.
|
|
.SH "KERNEL COMMAND LINE"
|
|
.PP
|
|
systemd\-fstab\-generator
|
|
understands the following kernel command line parameters:
|
|
.PP
|
|
\fIfstab=\fR, \fIrd\&.fstab=\fR
|
|
.RS 4
|
|
Takes a boolean argument\&. Defaults to
|
|
"yes"\&. If
|
|
"no", causes the generator to ignore any mounts or swaps configured in
|
|
/etc/fstab\&.
|
|
\fIrd\&.fstab=\fR
|
|
is honored only by initial RAM disk (initrd) while
|
|
\fIfstab=\fR
|
|
is honored by both the main system and the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fIroot=\fR
|
|
.RS 4
|
|
Takes the root filesystem to mount in the initrd\&.
|
|
\fIroot=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fIrootfstype=\fR
|
|
.RS 4
|
|
Takes the root filesystem type that will be passed to the mount command\&.
|
|
\fIrootfstype=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fIrootflags=\fR
|
|
.RS 4
|
|
Takes the root filesystem mount options to use\&.
|
|
\fIrootflags=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fImount\&.usr=\fR
|
|
.RS 4
|
|
Takes the
|
|
/usr
|
|
filesystem to be mounted by the initrd\&. If
|
|
\fImount\&.usrfstype=\fR
|
|
or
|
|
\fImount\&.usrflags=\fR
|
|
is set, then
|
|
\fImount\&.usr=\fR
|
|
will default to the value set in
|
|
\fIroot=\fR\&.
|
|
.sp
|
|
Otherwise this parameter defaults to the
|
|
/usr
|
|
entry found in
|
|
/etc/fstab
|
|
on the root filesystem\&.
|
|
.sp
|
|
\fImount\&.usr=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fImount\&.usrfstype=\fR
|
|
.RS 4
|
|
Takes the
|
|
/usr
|
|
filesystem type that will be passed to the mount command\&. If
|
|
\fImount\&.usr=\fR
|
|
or
|
|
\fImount\&.usrflags=\fR
|
|
is set, then
|
|
\fImount\&.usrfstype=\fR
|
|
will default to the value set in
|
|
\fIrootfstype=\fR\&.
|
|
.sp
|
|
Otherwise this value will be read from the
|
|
/usr
|
|
entry in
|
|
/etc/fstab
|
|
on the root filesystem\&.
|
|
.sp
|
|
\fImount\&.usrfstype=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.PP
|
|
\fImount\&.usrflags=\fR
|
|
.RS 4
|
|
Takes the
|
|
/usr
|
|
filesystem mount options to use\&. If
|
|
\fImount\&.usr=\fR
|
|
or
|
|
\fImount\&.usrfstype=\fR
|
|
is set, then
|
|
\fImount\&.usrflages=\fR
|
|
will default to the value set in
|
|
\fIrootflags=\fR\&.
|
|
.sp
|
|
Otherwise this value will be read from the
|
|
/usr
|
|
entry in
|
|
/etc/fstab
|
|
on the root filesystem\&.
|
|
.sp
|
|
\fImount\&.usrflags=\fR
|
|
is honored by the initrd\&.
|
|
.RE
|
|
.SH "SEE ALSO"
|
|
.PP
|
|
\fBsystemd\fR(1),
|
|
\fBfstab\fR(5),
|
|
\fBsystemd.mount\fR(5),
|
|
\fBsystemd.swap\fR(5),
|
|
\fBsystemd-cryptsetup-generator\fR(8)
|
|
.SH "NOTES"
|
|
.IP " 1." 4
|
|
generator specification
|
|
.RS 4
|
|
\%http://www.freedesktop.org/wiki/Software/systemd/Generators
|
|
.RE
|