* [uml-devel] Fun little detail about /dev/shm.
@ 2005-11-28 13:44 Rob Landley
2005-11-29 10:52 ` Nix
0 siblings, 1 reply; 4+ messages in thread
From: Rob Landley @ 2005-11-28 13:44 UTC (permalink / raw)
To: user-mode-linux-devel
If you're using udev, then /dev is tmpfs. So /dev/shm is trivially tmpfs.
:P
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Fun little detail about /dev/shm.
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
2005-11-29 16:35 ` Blaisorblade
0 siblings, 2 replies; 4+ messages in thread
From: Nix @ 2005-11-29 10:52 UTC (permalink / raw)
To: Rob Landley; +Cc: user-mode-linux-devel
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. (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...)
--
`Y'know, London's nice at this time of year. If you like your cities
freezing cold and full of surly gits.' --- David Damerell
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Fun little detail about /dev/shm.
2005-11-29 10:52 ` Nix
@ 2005-11-29 12:13 ` Rob Landley
2005-11-29 16:35 ` Blaisorblade
1 sibling, 0 replies; 4+ messages in thread
From: Rob Landley @ 2005-11-29 12:13 UTC (permalink / raw)
To: Nix; +Cc: user-mode-linux-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Fun little detail about /dev/shm.
2005-11-29 10:52 ` Nix
2005-11-29 12:13 ` Rob Landley
@ 2005-11-29 16:35 ` Blaisorblade
1 sibling, 0 replies; 4+ messages in thread
From: Blaisorblade @ 2005-11-29 16:35 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Nix, Rob Landley
On Tuesday 29 November 2005 11: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;
configurable on Gentoo - you can now specify a full mount line in /etc/fstab,
and before you had an option for ramfs.
> but some people mount /dev with a size of 0. (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...)
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Yahoo! Messenger: chiamate gratuite in tutto il mondo
http://it.messenger.yahoo.com
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-11-29 16:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-11-29 16:35 ` Blaisorblade
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.