Re: Is /dev/shm needed?

Adam Schrotenboer
2001-12-16T23:48:20Z

On Sunday 16 December 2001 18:37, Raúl Núñez de Arenas Coronado wrote:
> Hello Adam :))
>
> >> have lots of memory to spare, give it a try. Mount /tmp or all of /var
> >> in tmpfs.
> >
> >Unfortunately, some(many?) distros are b0rken in re /var/. There is
> >stuff put there that is needed across boots (for example, mandrake
> >puts the DNS master files in /var/named.)

Thank you for this correction of my understanding of /var
I now am under the impression that it merely means that /var must be mounted
rw. It is for variables, but not discardable data.

This still means that the concept of a tmpfs /var is _severely_ broken. DON'T
DO IT.

I may be wrong about /tmp as well, but I have come to think that it is data
that ought be discarded after logout, and have sometimes considered writing a
script for it in the login/logout scripts.

>
> Moreover, didn't the LHS say that /var/tmp is supposed to be
> maintained across reboots? I'm not sure about this, but anyway /var
> is supposed to hold temporary data, not boot-throwable data, isn't
> it?
>
> Raúl

--
tabris

Once I swore I would die for you, but I never meant like this.

Shame, by Stabbing Westward