On Fri, Dec 07, 2007 at 01:57:47PM -0800, Jake Conk wrote:
> I want to put my /tmp partition in RAM and I got the following example
technically, swap is never on memory. swap is memory written
to the disk (when data is in memory it is either used or cache)
what you wrote is the correct way to create a partition in
memory (i do the same for my swap, the difference is my disk
is one 1 gb / and 95 Gb cgd disk but it is just for the fun
of doing it, i am not yet that paranoid...)
i suggest you to keep the swap entry. on bsd systems it wont be
used that much, and when it does you have usually trouble on your
hands (your mileage and size of flames coming from the server
might vary).
if you are worried and paranoid, you can create a partition,
mounted on each boot with a random key for your swap and tmp and
that key will be forgotten on each reboot and a new random one
used.
keep the swap entry. the /tmp one is good and that's how
you create one to put your /tmp in memory.
--
unzip ; strip ; touch ; grep ; find ; finger ; mount ; fsck ; more ;
yes ; fsck ; umount ; sleep
| Ingo Molnar | [bug] block subsystem related crash with latest -git |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Adrian Bunk | Re: net/ipv4/fib_trie.c - compile error (Re: 2.6.23-rc3-mm1) |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
