Gentoo Archives: gentoo-user

From: Jean Magnan de Bornier <jean@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/shm and firefox question
Date: Wed, 28 Dec 2005 19:49:16
Message-Id: 87d5jhgg9c.fsf@bornier.net
In Reply to: Re: [gentoo-user] /dev/shm and firefox question by Andres Becerra Sandoval
1 Le 28 décembre à 16:46:15 Andres Becerra Sandoval <andres.becerra@×××××.com> écrit notamment:
2
3 | On 12/28/05, Jean Magnan de Bornier <jean@×××××××.net> wrote:
4 | > Hello all,
5 | > I recently installed qemu; when I launch it I get this message:
6 | >
7 | > "You do not have enough space in '/dev/shm' for the 450 MB of QEMU virtual RAM.
8 | > To have more space available provided you have enough RAM and swap, do as root:
9 | > umount /dev/shm
10 | > mount -t tmpfs -o size=466m none /dev/shm"
11 | >
12 | > OK, it works; so in order to avoid doing this every time i added
13 | > "size=466m" to the options column of fstab. It seems to work allright but
14 | > for the fact that then firefox does not work anymore: I can launch it, but
15 | > then it freezes.
16 | >
17 | > And then if I issue by hand these commands, firefox is as usual again!
18 | > What am I doing wrong?
19 | >
20 | > Here's my fstab's tmpfs line:
21 | > .................................
22 | > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
23 | > # POSIX shared memory (shm_open, shm_unlink).
24 | > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
25 | > # use almost no memory if not populated with files)
26 | > shm /dev/shm tmpfs nodev,nosuid,noexec,size=466m 0 0
27 | > ................................
28 | >
29
30 [...]
31
32
33 | Leaving out the noexec option?
34 >
35 | --
36 | Andres
37
38 Ok I try this, see what happens tomorrow at boot..
39 thx
40 --
41 Jean Magnan de Bornier | Cours Victor Hugo
42 e-mots: jean at bornier.net | 13980 Alleins France
43 T 08 70 39 34 03 | P 06 09 17 35 87
44
45 --
46 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] /dev/shm and firefox question Jean Magnan de Bornier <jean@×××××××.net>