1GENFSTAB(8) GENFSTAB(8)
2
3
4
6 genfstab - generate output suitable for addition to an fstab file
7
9 genfstab [options] root
10
12 genfstab helps fill in an fstab file by autodetecting all the current
13 mounts below a given mountpoint and printing them in fstab-compatible
14 format to standard output. It can be used to persist a manually mounted
15 filesystem hierarchy and is often used during the initial install and
16 configuration of an OS.
17
19 -f <filter>
20 Restrict output to mountpoints matching the prefix filter.
21
22 -L
23 Use labels for source identifiers (shortcut for -t LABEL).
24
25 -p
26 Exclude pseudofs mounts (default behavior).
27
28 -P
29 Include pseudofs mounts.
30
31 -t <tag>
32 Use tag for source identifiers (should be one of: LABEL, UUID,
33 PARTLABEL, PARTUUID).
34
35 -U
36 Use UUIDs for source identifiers (shortcut for -t UUID).
37
38 -h
39 Output syntax and command line options.
40
42 pacman(8)
43
45 Bugs can be reported on the bug tracker https://bugs.archlinux.org in
46 the Arch Linux category and title prefixed with [arch-install-scripts]
47 or via arch-projects@archlinux.org.
48
50 Maintainers:
51
52 • Dave Reisner <dreisner@archlinux.org>
53
54 • Eli Schwartz <eschwartz@archlinux.org>
55
56 For additional contributors, use git shortlog -s on the
57 arch-install-scripts.git repository.
58
59
60
61 07/21/2021 GENFSTAB(8)