Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 30/05/2016 11:37, Lionel Elie Mamane wrote:
On Sun, May 29, 2016 at 10:21:56AM +0200, YuGiOhJCJ Mailing-List wrote:
On Sun, 29 May 2016 01:35:47 +0100
Wols Lists <antlists@youngman.org.uk> wrote:
Which means my fstab contains the following line
tmp     /tmp    tmpfs   size=10G,mode=0777      0 0
and you'll notice the size=10G parameter, giving me a 10Gb /tmp directory.
In my /etc/fstab file I got this line on Slackware 14.1:
$ grep "tmp" /etc/fstab
tmpfs            /dev/shm         tmpfs       defaults         0   0
It is a bit different than your line in /etc/fstab but I don't know
if that matters.
That is not the line for /tmp; if you haven't got any line for that,
possibly it is just on your root filesystem, which may or may not have
enough space on it. Try:

mount
cat /proc/mounts

to find the actual situation of /tmp

Oops !!! I should have picked that up.

If it is on root, and root is short of space, you could move /tmp to a tmpfs by inserting a line like mine. If you're after speed, this is a good solution, but you do really need to get extra ram if you can - these two will give you that speed.

Just remember, a reboot WILL clear out /tmp with this setup, so your build environment will not persist across reboots. Even without a tmpfs, the distro will probably clear out /tmp on boot or shutdown.

Cheers,
Wol

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.