GENFSTAB(8)

NAME
genfstab - generate fstab-compatible output

SYNOPSIS
genfstab [-f filter] [-t tag] [-LpPU] [root]

DESCRIPTION
genfstab is a utility that detects mounted filesystems and swaps, and outputs information that can be parsed by fstab(5). This is a POSIX sh implementation of the Arch Linux tool with the same name.

OPTIONS

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

-L
    Use labels for source identifiers (shortcut for -t LABEL)

-p
    Exclude pseudofs mounts (default behaviour)

-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 -t UUID)

AUTHOR
Cem Keylan <cem@ckyln.com>

SEE ALSO

fstab(5)