Re: Does /var/shm still need to be mounted?

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue May 30 2000 - 15:43:54 EST


Followup to: <Pine.LNX.4.10.10005301224200.707-100000@wr5z.localdomain>
By author: Thomas Molina <tmolina@home.com>
In newsgroup: linux.dev.kernel
>
> Also,
>
> 1. Why is /var/shm such a bad place?

/var is meant to be a true filesystem; furthermore, it is highly
dynamic, which means that you will have scripts trying to backup /var,
look for stale files, etc. Basically, a program can expect /var to be
a real filesystem (not something like shmfs) mounted locally (not
shared!) in read/write mode (not readonly).

> 2. Where is the suggested place?

/dev/shm would be the best by far. Things like this (kernel
interaction nodes) belong in /dev. /shm would be a distant second
choice.

> I agree that people will probably put it in the suggested place absent
> any other data. I put it there because I'm not familiar enough with the
> File System Standard to have a preference for any other place.

        -hpa

-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:25 EST