aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/creatingpartition.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2022-09-23 02:03:38 +0800
committerXi Ruoyao <xry111@xry111.site>2022-09-23 02:03:38 +0800
commitb00063f2a5bb3776e284c9de27bfe17c0f11d013 (patch)
treece9c05729c39065770a06ed77578b91afb095714 /chapter02/creatingpartition.xml
parentfc472c83d9f8608a737bc54afe71ce3894b61fe5 (diff)
partition: update the description for /tmp with tmpfs
Diffstat (limited to 'chapter02/creatingpartition.xml')
-rw-r--r--chapter02/creatingpartition.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index a57dabc97..040a575fd 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -169,9 +169,18 @@
used, 5 to 10 gigabytes is generally adequate.</para>
</listitem>
- <listitem><para>/tmp &ndash; A separate /tmp directory is rare, but
- useful if configuring a thin client. This partition, if used, will
- usually not need to exceed a couple of gigabytes.</para></listitem>
+ <listitem revision='sysv'><para>/tmp &ndash; A separate /tmp directory
+ is rare, but useful if configuring a thin client. This partition, if
+ used, will usually not need to exceed a couple of
+ gigabytes. If you have enough RAM, you can mount a
+ <systemitem class='filesystem'>tmpfs</systemitem> on /tmp to make
+ the accesses to temporary files faster.</para></listitem>
+
+ <listitem revision='systemd'><para>/tmp &ndash; By default, systemd
+ mounts a <systemitem class='filesystem'>tmpfs</systemitem> here.
+ If you want to override the behavior, follow
+ <xref linkend='systemd-no-tmpfs'/> configuring the LFS
+ system.</para></listitem>
<listitem><para>/usr/src &ndash; This partition is very
useful for providing a location to store BLFS source files and