Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 1996 07:43:44 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        Kees.Koster@nym.sc.philips.com
Cc:        questions@freebsd.org
Subject:   Re: Can I combine /tmp and swap?
Message-ID:  <199609161343.NAA20005@gatekeeper.fsl.noaa.gov>
In-Reply-To: <242237437BB@NLNMG01.nym.sc.philips.com> (Kees.Koster@nym.sc.philips.com)

next in thread | previous in thread | raw e-mail | index | archive | help
It is possible to combine /tmp and swap.  Install FreeBSD as usual,
making a swap `b' partition on your disk.  After installation, edit
the /etc/fstab file and add an extra entry for the `b' partition that
mounts on /tmp and uses the mfs filesystem type.  For example, here's
an excerpt from my /etc/fstab which does this:

/dev/sd0s4b                     none            swap    sw        0 0
/dev/sd0s4b                     /tmp            mfs     rw        0 0

You'll also need to configure your kernel with the line

	options MFS

for this to work, since the MFS filesystem type can't yet be
dynamically loaded.

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



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