aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/fstab.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-07-28 19:59:01 +0800
committerXi Ruoyao <xry111@xry111.site>2023-07-28 19:59:01 +0800
commit44674e4c92f7ef20dbc985f479c5c19548378a08 (patch)
tree69524742f934a873fb137b74ea1e3d2915b92106 /chapter10/fstab.xml
parentd0de26cbe0bf877b25219936b7b688f0b17d0a16 (diff)
sysv: Mount cgroup fs for memory pressure information early
Prepare for systemd-254 update. See #5293 for details.
Diffstat (limited to 'chapter10/fstab.xml')
-rw-r--r--chapter10/fstab.xml23
1 files changed, 12 insertions, 11 deletions
diff --git a/chapter10/fstab.xml b/chapter10/fstab.xml
index f78b234db..ccf767ab6 100644
--- a/chapter10/fstab.xml
+++ b/chapter10/fstab.xml
@@ -22,17 +22,18 @@
<screen revision="sysv"><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
<literal># Begin /etc/fstab
-# file system mount-point type options dump fsck
-# order
-
-/dev/<replaceable>&lt;xxx&gt;</replaceable> / <replaceable>&lt;fff&gt;</replaceable> defaults 1 1
-/dev/<replaceable>&lt;yyy&gt;</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
+# file system mount-point type options dump fsck
+# order
+
+/dev/<replaceable>&lt;xxx&gt;</replaceable> / <replaceable>&lt;fff&gt;</replaceable> defaults 1 1
+/dev/<replaceable>&lt;yyy&gt;</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>