Fun little detail about /dev/shm.
If you're using udev, then /dev is tmpfs. So /dev/shm is trivially tmpfs.
:P
Rob
Signature · 13 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
On Mon, 28 Nov 2005, Rob Landley prattled cheerily:
Quoted 1 line
If you're using udev, then /dev is tmpfs. So
/dev/shmis 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...)
Signature · 14 lines
`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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · Nix
On Mon, 28 Nov 2005, Rob Landley prattled cheerily:
Quoted 2 lines
If you're using udev, then /dev is tmpfs. So
/dev/shmis 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
Quoted 3 lines
(Admittedly if
they don't want to break POSIX shm they'd better damn well mount *another* tmpfs on/dev/shmwith 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
Signature · 13 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · Nix
On Mon, 28 Nov 2005, Rob Landley prattled cheerily:
Quoted 2 lines
If you're using udev, then /dev is tmpfs. So
/dev/shmis 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.
Quoted 3 lines
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/shmwith a saner size limit...)
Signature · 20 lines
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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel