FreeBSD Install config

Jonathan Perkin sketch at rd.bbc.co.uk
Wed Dec 19 13:57:37 GMT 2001


On Wed Dec 19, 2001 at 01:50:09PM +0000, Paul Civati wrote:

> > If you're like me and also have /tmp mounted on swap you can make
> > it slightly bigger.  Also can't hurt to increase size anyway,
> > diskspace is cheap and running out of swap isn't something you
> > want to run into.
> 
> One useful thing, if you like to have a mfs /tmp, you can limit
> the size to stop stupid people (as they do) making your machine
> grind to a halt when they use all your memory.
> 
> Mount option -s=32767 will create you a ~16M /tmp, I also tend
> to put in a nosuid option as a small attempt at stopping any
> dodgy setuid scripts from running in there.

Ah yes, forgot to mention that :)

swap                    /tmp            mfs     rw,-s=128m,nosuid

I should probably limit that a bit more.  128Mb seems a little large
on reflection (it's 1Gb swap).

-- 
 Jonathan Perkin - BBC Internet Services - <sketch at rd.bbc.co.uk>




More information about the Ukfreebsd mailing list