Re: /dev/shm

"Alexandre P. Nunes" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
Shane Kerr wrote:

>On 2002-06-28 11:55:28 -0300, Alexandre P. Nunes wrote:
>  
>
>>I'm just new to ngpt. While trying ngpt-2.0.0, I figure out it
>>requires (well, programs fails to run without) /dev/shm mounted, which
>>I personally don't use. I've found quite a few programs which required
>>it, and patched them to don't do it. I personally don't think a low
>>level library, like ngpt, should.
>>    
>>
>
><snip/>
>
>I agree with this.  Using /dev/shm means that no chroot() application
>can use NGPT, e.g. Apache or BIND 9.  Solaris depends on /dev/mem for
>it's POSIX threads, and therefore doesn't support chroot() pthread apps,
>a limitation I'd hate to see added to Linux!
>
>  
>
One could use mount --bind /dev/shm /whatever, I personally think that's 
unclean even for only one chroot()ed environment, tough. Even worse for 
some people who have lots of it. mmaping() a file which is already 
backended in virtual memory is rather strange. Having /dev/shm as a 
requirement for anything is rather strange. IMHO, of course.


Cheers,

Alexandre
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.