mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
fstab: Remove init system-specific instructions.
This commit is contained in:
@@ -19,26 +19,7 @@
|
||||
which must be checked (for integrity errors) prior to mounting. Create a new
|
||||
file systems table like this:</para>
|
||||
|
||||
<screen revision="openrc"><userinput>cat > /etc/fstab << "EOF"
|
||||
<literal># Begin /etc/fstab
|
||||
|
||||
# file system mount-point type options dump fsck
|
||||
# order
|
||||
|
||||
/dev/<replaceable><xxx></replaceable> / <replaceable><fff></replaceable> defaults 1 1
|
||||
/dev/<replaceable><yyy></replaceable> 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
|
||||
tmpfs /dev/shm tmpfs nosuid,nodev 0 0
|
||||
cgroup2 /sys/fs/cgroup cgroup2 nosuid,noexec,nodev 0 0
|
||||
|
||||
# End /etc/fstab</literal>
|
||||
EOF</userinput></screen>
|
||||
|
||||
<screen revision="systemd"><userinput>cat > /etc/fstab << "EOF"
|
||||
<screen><userinput>cat > /etc/fstab << "EOF"
|
||||
<literal># Begin /etc/fstab
|
||||
|
||||
# file system mount-point type options dump fsck
|
||||
|
||||
Reference in New Issue
Block a user