Full 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.