From: Robert Love <rml@tech9.net>
To: "Raúl Núñez de Arenas Coronado" <raul@viadomus.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Is /dev/shm needed?
Date: 16 Dec 2001 18:12:04 -0500 [thread overview]
Message-ID: <1008544328.843.0.camel@phantasy> (raw)
In-Reply-To: <E16FkV9-00010E-00@DervishD.viadomus.com>
In-Reply-To: <E16FkV9-00010E-00@DervishD.viadomus.com>
On Sun, 2001-12-16 at 18:15, Raúl Núñez de Arenas Coronado wrote:
> Hello Robert :)
>
> >It is not needed. /dev/shm mounted with tmpfs is only needed for POSIX
> >shared memory, which is still fairly rare.
>
> That this means that I can mount more than one 'tmpfs' just like
> if it's a *real* filesystem? I wasn't sure, since it's implemented
> thru the page cache.
Yes, you can mount as many as you like.
> >It is dynamic, so you don't need to specify a size.
>
> Yes, I knew, I meant the maximum size. I don't want half of the
> RAM occupied just by a programming mistake ;)))
Ah, right. Set the size to the minimum of the most RAM you can spare
and the biggest size of your tmp. You can also specify max inode
entries, but size is probably best here. You can pass "size=32m" or
whatever as an option.
See Documentation/filesystems/tmpfs.txt for more information.
Robert Love
next prev parent reply other threads:[~2001-12-16 23:11 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-16 23:15 Is /dev/shm needed? RaúlNúñez de Arenas Coronado
2001-12-16 23:12 ` Robert Love [this message]
2001-12-16 23:31 ` Pierfrancesco Caci
2001-12-17 8:36 ` ncw
2001-12-17 8:19 ` Christoph Rohland
-- strict thread matches above, loose matches on Subject: below --
2001-12-17 8:41 RaúlNúñez de Arenas Coronado
2001-12-17 8:34 ` Christoph Rohland
2001-12-17 4:14 Jason Rivard
2001-12-16 23:37 RaúlNúñez de Arenas Coronado
2001-12-16 23:47 ` Adam Schrotenboer
2001-12-16 23:56 ` Ryan Cumming
2001-12-17 0:17 ` Adam Schrotenboer
2001-12-17 2:26 ` H. Peter Anvin
2001-12-17 15:50 ` Luigi Genoni
2001-12-16 23:36 RaúlNúñez de Arenas Coronado
2001-12-16 22:02 RaúlNúñez de Arenas Coronado
2001-12-16 22:30 ` Robert Love
2001-12-16 23:13 ` Adam Schrotenboer
2001-12-16 23:26 ` J Sloan
2001-12-16 23:27 ` Alexander Viro
2001-12-17 9:03 ` Jurgen Botz
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=1008544328.843.0.camel@phantasy \
--to=rml@tech9.net \
--cc=linux-kernel@vger.kernel.org \
--cc=raul@viadomus.com \
/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