blob: 7b1298a601ba5439a4ff409289de8d2856e7a20f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
'\" t
.\" Title: genfstab
.\" Author: [see the "Authors" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 11/20/2022
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "GENFSTAB" "8" "11/20/2022" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * 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"
genfstab \- generate output suitable for addition to an fstab file
.SH "SYNOPSIS"
.sp
genfstab [options] root
.SH "DESCRIPTION"
.sp
genfstab helps fill in an fstab file by autodetecting all the current mounts below a given mountpoint and printing them in fstab\-compatible format to standard output\&. It can be used to persist a manually mounted filesystem hierarchy and is often used during the initial install and configuration of an OS\&.
.SH "OPTIONS"
.PP
\fB\-f\fR <filter>
.RS 4
Restrict output to mountpoints matching the prefix
\fIfilter\fR\&.
.RE
.PP
\fB\-L\fR
.RS 4
Use labels for source identifiers (shortcut for
\fI\-t LABEL\fR)\&.
.RE
.PP
\fB\-p\fR
.RS 4
Exclude pseudofs mounts (default behavior)\&.
.RE
.PP
\fB\-P\fR
.RS 4
Include pseudofs mounts\&.
.RE
.PP
\fB\-t\fR <tag>
.RS 4
Use
\fItag\fR
for source identifiers (should be one of:
\fILABEL\fR,
\fIUUID\fR,
\fIPARTLABEL\fR,
\fIPARTUUID\fR)\&.
.RE
.PP
\fB\-U\fR
.RS 4
Use UUIDs for source identifiers (shortcut for
\fI\-t UUID\fR)\&.
.RE
.PP
\fB\-h\fR
.RS 4
Output syntax and command line options\&.
.RE
.SH "SEE ALSO"
.sp
\fBpacman\fR(8)
.SH "BUGS"
.sp
Bugs can be reported on the bug tracker \fIhttps://bugs\&.archlinux\&.org\fR in the Arch Linux category and title prefixed with [arch\-install\-scripts] or via arch\-projects@archlinux\&.org\&.
.SH "AUTHORS"
.sp
Maintainers:
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Dave Reisner <dreisner@archlinux\&.org>
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
Eli Schwartz <eschwartz@archlinux\&.org>
.RE
.sp
For additional contributors, use git shortlog \-s on the arch\-install\-scripts\&.git repository\&.
|