mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
19 lines
675 B
Bash
19 lines
675 B
Bash
#!/bin/bash
|
|
|
|
cat > /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
|
|
|