diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-23 02:03:38 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-23 02:03:38 +0800 |
commit | b00063f2a5bb3776e284c9de27bfe17c0f11d013 (patch) | |
tree | ce9c05729c39065770a06ed77578b91afb095714 /chapter02/creatingpartition.xml | |
parent | fc472c83d9f8608a737bc54afe71ce3894b61fe5 (diff) |
partition: update the description for /tmp with tmpfs
Diffstat (limited to 'chapter02/creatingpartition.xml')
-rw-r--r-- | chapter02/creatingpartition.xml | 15 |
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 – 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 – 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 – 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 – This partition is very useful for providing a location to store BLFS source files and |