All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Nix <nix@esperi.org.uk>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Fun little detail about /dev/shm.
Date: Tue, 29 Nov 2005 06:13:19 -0600	[thread overview]
Message-ID: <200511290613.19925.rob@landley.net> (raw)
In-Reply-To: <87y837ybd5.fsf@amaterasu.srvr.nix>

On Tuesday 29 November 2005 04:52, Nix wrote:
> On Mon, 28 Nov 2005, Rob Landley prattled cheerily:
> > If you're using udev, then /dev is tmpfs.  So /dev/shm is trivially
> > tmpfs.
>
> True enough; but some people mount /dev with a size of 0.

That stopped working in 2.6.14.  Now size=0 specifies no size limit.  (Yeah, 
I'm annoyed about it too.  I complained.)

Thread starts here:
http://seclists.org/lists/linux-kernel/2005/Nov/0387.html

> (Admittedly if 
> they don't want to break POSIX shm they'd better damn well mount *another*
> tmpfs on /dev/shm with a saner size limit...)

In the patch I sent the error message was changed to say which directory it 
was upset about, but it should probably also hint that you can set TMPDIR to 
override this...

Rob
-- 
Steve Ballmer: Innovation!  Inigo Montoya: You keep using that word.
I do not think it means what you think it means.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2005-11-29 12:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 13:44 [uml-devel] Fun little detail about /dev/shm Rob Landley
2005-11-29 10:52 ` Nix
2005-11-29 12:13   ` Rob Landley [this message]
2005-11-29 16:35   ` Blaisorblade

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=200511290613.19925.rob@landley.net \
    --to=rob@landley.net \
    --cc=nix@esperi.org.uk \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.