Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 1997 22:22:10 -0800
From:      John-Mark Gurney <gurney_j@efn.org>
To:        craig@ProGroup.COM
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Partitioning suggestions?
Message-ID:  <19971117222210.05319@hydrogen.nike.efn.org>
In-Reply-To: <34711F6E.BCCE8D9B@progroup.com>; from Craig W. Shaver on Mon, Nov 17, 1997 at 08:54:06PM -0800
References:  <199711180211.VAA18014@earth.mat.net> <34711F6E.BCCE8D9B@progroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Craig W. Shaver scribbled this message on Nov 17:

[...]

> The idea of using MFS mounted /tmp is appealing.  How do you do that? 
> Is there some documentation on that?

well.. I have this in my /etc/fstab:
/dev/sd1b               /tmp                    mfs     rw,nosuid,-s=524288 0 0

but be careful... normally you can only have a 64meg mfs unless you
increase the datasize limit to be larger than 64megs...  I build my
kernel with:
options         "MAXDSIZ=(512*1024*1024)"
options         "DFLDSIZ=(512*1024*1024)"

so that I can have:
Filesystem       1K-blocks     Used    Avail Capacity  Mounted on
mfs:26              254319    62731   171243    27%    /tmp

note that the -s option specifies the size of the fs in 512byte blocks...
there is an option to have the mfs /tmp backed by a file (so if you
reboot your machine, your /tmp contents are saved, not sure if this
hurts performane or not) which helps prevents lose of data...

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



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