From b00063f2a5bb3776e284c9de27bfe17c0f11d013 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 23 Sep 2022 02:03:38 +0800 Subject: partition: update the description for /tmp with tmpfs --- chapter02/creatingpartition.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'chapter02') 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. - /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. + /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 + tmpfs on /tmp to make + the accesses to temporary files faster. + + /tmp – By default, systemd + mounts a tmpfs here. + If you want to override the behavior, follow + configuring the LFS + system. /usr/src – This partition is very useful for providing a location to store BLFS source files and -- cgit v1.2.3-54-g00ecf