From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [SOLVED] Setting size of /dev/shm or cleaning up ancient /etc/fstab
Date: Thu, 9 May 2013 16:49:51 -0400 [thread overview]
Message-ID: <20130509204951.GA1826@waltdnes.org> (raw)
In-Reply-To: <5189F429.4020302@gmail.com>
On Wed, May 08, 2013 at 08:43:53AM +0200, Alan McKinnon wrote
>
> a tmpfs defaults to half ram size. If yours is 10M, then quite obviously
> you run some code somewhere that does it different :-)
>
> You could go through the effort of tracking down why. Unless this is a
> default behaviour of mdev which needs debugging, pathcing and fixing, I
> don't think you should spend any brain cycles on this, just add this to
> the mount options
>
> size=50%
I think I found the root of the problem, in /etc/init.d/mdev
mount_it()
{
if fstabinfo --quiet /dev ; then
mount -n /dev
else
# Some devices require exec, Bug #92921
mount -n -t tmpfs -o "exec,nosuid,mode=0755,size=10M" mdev /dev
fi
}
I replaced "size=10M" with "size=50%" and rebooted. It now works
properly. Bug https://bugs.gentoo.org/show_bug.cgi?id=469226 filed.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2013-05-09 20:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 5:55 [gentoo-user] Setting size of /dev/shm or cleaning up ancient /etc/fstab Walter Dnes
2013-05-08 6:43 ` Alan McKinnon
2013-05-09 20:49 ` Walter Dnes [this message]
2013-05-08 14:43 ` Paul Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130509204951.GA1826@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox