howto put /tmp partition into /md0

Panagiotis Christias christias at gmail.com
Thu Oct 28 00:13:17 PDT 2004


On Thu, 28 Oct 2004 15:01:44 +1000, adslvmlg at tpg.com.au
<adslvmlg at 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?page=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

Regards,
Panagiotis


More information about the freebsd-questions mailing list