Andi Kleen <ak@muc.de> writes:
> On Mon, Jan 10, 2000 at 01:20:40PM +0100, Christoph Rohland wrote:
> > Hi folks,
> >
> > This patch implements a minimal filesystem for shared memory. It
> > replaces/reuses the existing SYSV shm code so you now have to mount
> > the fs to be able to use SYSV SHM. But in turn we now have everything
> > in place to implement posix shm. This also obsoletes vm_private_data
> > in vm_area_struct.
>
> I planed to map the Unix Sockets abstract name space to a file system
> for some time now. Because it would be silly to write another file
> system just for that rather obscure feature, would it be possible
> to use a subdirectory in your new shm filesystem? I haven't looked
> at the code at all yet, and don't know if it can even deal with
> directories and special devices. Do you have objections to such
> a direction?
In the current state this is not possible. The shm fs does not support
directories and only regular files (which you can only mmap, no
read/write support).
But we could later extend the fs to support directories and special
files. The Unix Sockets could probably also use the same mechanisms
for locating the special fs like SYSV ipc does.
With these changes we also should then be able to mount the fs several
times. So we also get the chroot case fixed.
Greetings
Christoph
-
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 : Sat Jan 15 2000 - 21:00:16 EST