Re: program execution in /dev/shm
T wrote:
> On Wed, 04 Oct 2006 12:20:38 +0200, Jörg-Volker Peetz wrote:
>
>> On my etch system with kernel 2.6.18 I can no longer execute a program
>> in "/dev/shm", ...
>>
>> Does anybody else have this problem?
>
> Nope:
>
> $ ldd /bin/grep
> linux-gate.so.1 => (0xffffe000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb7e7e000)
> /lib/ld-linux.so.2 (0xb7fc3000)
>
> $ cp -p /bin/grep /dev/shm/
>
> $ ldd /dev/shm/grep
> linux-gate.so.1 => (0xffffe000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb7dcd000)
> /lib/ld-linux.so.2 (0xb7f12000)
>
> $ /dev/shm/grep -V
> grep (GNU grep) 2.5.1
>
> $ mount | grep shm
> tmpfs on /dev/shm type tmpfs (rw)
>
> tong
>
>
>
Thank you for your answer. May I ask which version of "initscripts" you
use? (I think, the "/etc/init.d/mountdevsubfs.sh" script mounts "/dev/shm".)
Mine is
$ dpkg -l initscripts | grep initscripts
ii initscripts 2.86.ds1-20 Scripts for initializing and shutting
down the system
Thanks in advance,
Jörg-Volker.
Reply to: