partition: update the description for /tmp with tmpfs

This commit is contained in:
Xi Ruoyao 2022-09-23 02:03:38 +08:00
parent fc472c83d9
commit b00063f2a5
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
2 changed files with 13 additions and 4 deletions

View File

@ -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

View File

@ -46,7 +46,7 @@ EOF</userinput></screen>
</sect2>
<sect2>
<sect2 id='systemd-no-tmpfs'>
<title>Disabling tmpfs for /tmp</title>
<para>By default, <filename class="directory">/tmp</filename> is created as