genfstab Command Examples

Arch Linux install script to generate output suitable for addition to an fstab file. More information: https://manned.org/genfstab.8.

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

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

genfstab -U {{/mnt}} >> {{/mnt/etc/fstab}}

genfstab -U {{path/to/mount_point}} | sudo tee -a /etc/fstab