about the tmpmfs="YES" in rc.conf

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Nov 10 07:52:25 PST 2004


On 2004-11-11 02:17, LEI CHEN <adam.chen at tpg.com.au> wrote:
>On Thu, 2004-11-11 at 01:37, Giorgos Keramidas wrote:
>>On 2004-11-11 01:28, LEI CHEN <adam.chen at tpg.com.au> wrote:
>>> I have just upgraded to 5-stable branch, and I noticed that the
>>> tmpmfs="YES" and tmpsize="20m" options can be put into /etc/rc.conf
>>> directly to create a memory file system automatically.
>>
>> Yesterday, I have committed a couple of enhancements to the tmpmfs in
>> CURRENT.  If you plan on using tmpmfs="YES", mail me privately and I'll
>> tell you how to merge the changes with your existing setup once the tmpmfs
>> stuff is merged from CURRENT to RELENG_5 (in a few days).
>
> I've just added those two options into /etc/rc.conf and commented out the
> line in /etc/fstab.
>
> It works! :)
>
> df -h output is :
> Filesystem  size  used  avail  capacity  Mounted on
> ...
> ...
> /dev/md0    31M   16k   28M    0%        /tmp
>
> I am just wondering what would be the mfs size that suitable for me?
> I have PIII 850 256MB laptop.

That depends on what you usually do with temporary stuff in /tmp.  The cpu
speed doesn't have anything to do with this ;-)



More information about the freebsd-questions mailing list