fix tip to use 10%

This commit is contained in:
prx 2022-06-08 09:18:31 +02:00
parent 7c0482685c
commit 10dfb750b4
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ To improve performances or avoid disk i/o, one may mount /tmp in memory (mfs). A
<pre>
# sed -i '/\/tmp /s/^/\#/' /etc/fstab
# printf "swap /tmp mfs rw,nodev,nosuid,-s=%sB 0 0\n" \
$(dmesg |awk '/avail mem/ { print $4 }') \
$(dmesg |awk '/avail mem/ { print $4 /10 }') \
>> /etc/fstab
# chmod 1777 /tmp
# mount -a