Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Oct 2004 11:54:26 +0100 (BST)
From:      "Daniel Bye" <freebsd@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Cc:        adslvmlg@tpg.com.au
Subject:   Re: howto put /tmp partition into /md0
Message-ID:  <55221.154.8.22.73.1098960866.squirrel@154.8.22.73>
In-Reply-To: <e4b0ecef04102800137d7694ff@mail.gmail.com>
References:  <1098939704.41807d38833d4@postoffice.tpg.com.au>    <e4b0ecef04102800137d7694ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 October, 2004 8:13 am, Panagiotis Christias said:
> On Thu, 28 Oct 2004 15:01:44 +1000, adslvmlg@tpg.com.au
> <adslvmlg@tpg.com.au> wrote:
>> Hi guys, Has any tuned their freebsd to put the /tmp partition into the
>> memory disk? I have followed the procedures on this url, but no luck to
>> get it working.
>>
>> http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index.html?pa
>> ge=2
>>
>> Can some one please point me to a detailed article or some other
>> howtos?
>>
>> ps: please cc me to this email address, because I am not registered in
>> this list.
>>
>> Thanks.
>>
>> Regards, LEI CHEN
>
> In case you are using FreeBSD 5.3:
>
> # egrep tmp /etc/defaults/rc.conf tmpmfs="AUTO"           # Set to YES
to
> always create an mfs /tmp, NO to never tmpsize="20m"           # Size of
> mfs /tmp if created
>

Cool - didn't know you could do that!

Lei, the article you cited above is about as detailed as it needs to be. 
It's the very same one I used a while ago to move my /tmp into RAM.  If
it's not working, let us know what happens - "no luck to get it working"
isn't very useful as a statement of your symptoms!  ;-)

Ideally, tell us what `uname -a' says, and any salient extracts from your
messages log file, any errors/warnings generated if you try to mount the
memory disk manually, etc.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55221.154.8.22.73.1098960866.squirrel>