[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /run vs /var/run (was: Please test new sysvinit)

On Sun, Dec 18, 2005 at 01:03:37PM -0500, Joe Smith wrote:
> 1. POSIX (or at least SuS v3) does not gaurentee the existence of /dev/shm, 
> or that if it does exist, that it can be be read as a block device, or that 
> if it can, it has a file system on it.
> 2. Neither does FHS.
> 3. The Linux 2.6 device list states that as of now, if /dev/shm exists it 
> should have a tmpfs filesystem. But makes no guarentees that it exists, or 
> that it will remain a filesystem

Also Linux allows to not build support for a full-blown tmpfs that
supports all posix filesystem operations, but also a cut-down version
that's just enough for posix shm.  You can't use read or write on files
in /dev/shm in that case.

Reply to: