logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

genfstab - generate output suitable for addition to an fstab file

Authors

       Maintainers:

       •   Dave Reisner <dreisner@archlinux.org>

       •   Eli Schwartz <eschwartz@archlinux.org>

       For additional contributors, use git shortlog -s on the arch-install-scripts.git repository.

                                                   11/22/2022                                        GENFSTAB(8)

Bugs

       Bugs can be reported on the bug tracker https://bugs.archlinux.org in the Arch Linux category and title
       prefixed with [arch-install-scripts] or via arch-projects@archlinux.org.

Description

       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.

Name

       genfstab - generate output suitable for addition to an fstab file

Options

-f <filter>
           Restrict output to mountpoints matching the prefix filter.

       -L
           Use labels for source identifiers (shortcut for -tLABEL).

       -p
           Exclude pseudofs mounts (default behavior).

       -P
           Include pseudofs mounts.

       -t <tag>
           Use tag for source identifiers (should be one of: LABEL, UUID, PARTLABEL, PARTUUID).

       -U
           Use UUIDs for source identifiers (shortcut for -tUUID).

       -h
           Output syntax and command line options.

See Also

pacman(8)

Synopsis

       genfstab [options] root

See Also