Re: Is /dev/shm needed?

From: Adam Schrotenboer (adam@tabris.net)
Date: Sun Dec 16 2001 - 18:47:47 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:12 EST