3.82. etc-fstab
#!/bin/sh # Copyright © 1999-2022 Gerard Beekmans # Copyright © 2017-2022 Random Crew # Distributed under the terms of MIT License.
Configuration
src_config() { return }
Compilation
src_compile() { return }
Installation
src_install() { mkdir -p ${D}/etc/ cat > ${D}/etc/fstab << "EOF" # Begin /etc/fstab # file system mount-point type options dump fsck # order #/dev/<xxx> / <fff> defaults 1 1 #/dev/<yyy> swap swap pri=1 0 0 proc /proc proc nosuid,noexec,nodev 0 0 sysfs /sys sysfs nosuid,noexec,nodev 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /run tmpfs defaults 0 0 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 # End /etc/fstab EOF }
Build code
Other files
Links
- url.lfs: https://linuxfromscratch.org/lfs/view/11.2/chapter10/fstab.html
- url.lfs.stage1: