1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/bash set -e cat << EOF > /etc/fstab # Begin /etc/fstab # file system mount-point type options dump fsck # order ${LFS_DISK}${LFS_PART} / ${LFS_FS,,} defaults 1 1 ${LFS_SWAP} swap swap pri=1 0 0 # End /etc/fstab EOF