Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 08:52:25 -0600
From:      Mike Meyer <mwm@mired.org>
To:        Brian T.Schellenberger <bts@babbleon.org>
Cc:        questions@freebsd.org
Subject:   /tmp (Was: Softupdates)
Message-ID:  <15362.22313.190992.881771@guru.mired.org>
In-Reply-To: <68103924@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian T.Schellenberger <bts@babbleon.org> types:
> If you are lucky enough to have /tmp on a separate physical drive, itdeal 
> would be to enable write cache on /tmp as well since you don't care what you 
> lose on /tmp if you crash . . .

In that case, merge /tmp into the swap partition, and mount it via mfs
like so:

/dev/da1s1b		/tmp		mfs	rw,nosymfollow,nosuid,-s=262144	0 0

which creates a 128 meg /tmp as a swap-backed memory file system. I
don't think you can turn on softupdates. On the other hand, you don't
really care, as data doesn't get written to disk unless it's swapped
out anyway.

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Q: How do you make the gods laugh?		A: Tell them your plans.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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