genfstab
Generate output suitable for addition to the /etc/fstab file. tldr-pages
On Linux
Linux
Generate the /etc/fstab file using volume UUIDs during an Arch Linux installation (requires root permissions)
genfstab -U /mnt >>/mnt/etc/fstabIdentifyDisplay fstab-compatible output based on volume labels
genfstab -L path/to/mount_pointIdentifyDisplay fstab-compatible output based on volume UUIDs
genfstab -U path/to/mount_pointIdentifyDisplay fstab-compatible output based on the specified identifier
genfstab -t LABELIdentifyAppend a volume into the /etc/fstab file to mount it automatically
genfstab -U path/to/mount_point | sudo tee -a /etc/fstabIdentify