Re: shm fs mount

From: Christoph Rohland (cr@sap.com)
Date: Fri Jun 09 2000 - 04:20:12 EST


Hi Ulrich,

Ulrich Drepper <drepper@redhat.com> writes:
> At least with 2.4.0-test1-ac11 I see two entries for the shm
> filesystem in /proc/mounts:
>
> none / shm rw 0 0
> none /dev/shm shm rw 0 0
>
> I have no idea where the first comes from, I certainly don't create
> it. This entry is causing trouble, though, since when searching for
> the shmfs mount point glibc looks through /proc/mounts and then finds
> the first entry.
>
> Could this entry be removed? If not, why not?

The kernel now mounts the shm fs internally, so SYSV ipc can be used
without mounting the fs. We still need to mount it for POSIX shm.

Alex, couldn't we use a mount point like the pipefs so the glibc
parser could easily detect the internal mount?

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 : Thu Jun 15 2000 - 21:00:17 EST