Display an fstab compatible output based on a volume UUID

genfstab

  • Arch Linux install script to generate output suitable for addition to an fstab file.
    More information: <https://man.archlinux.org/man/extra/arch-install-scripts/genfstab.8>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

genfstab -U {{path/to/mount_point}}

click the source code to copy install genfstab on any operating system with command-not-found.com