3 ms·
> "Everyone must now be careful never to store a file in /tmp that might grow large" Be warned that when he says this, he doesn't mean it will eat all your mem
by keeperofdakeys 14y ago
> "Everyone must now be careful never to store a file in /tmp that might grow large"
Be warned that when he says this, he doesn't mean it will eat all your memory, it will only grow upto a maximum size (by default half of your ram). When this is reached, it acts like any other filesystem that is full: you get write errors. There is actually another implementation called ramfs, which doesn't have such a size restriction. However, tmpfs is what is actually being implemented here. The ramfs itself is more of a 'toy' filesystem, also being quite limited, including not being able to use swap space (unlike tmpfs).