Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 14:04:54 -0500
From:      Mike Meyer <mwm@mired.org>
To:        dave phinney <dave.phinney@insinc.com>
Cc:        questions@freebsd.org
Subject:   Re: Memory disk /tmp without swap backing
Message-ID:  <15284.51670.298496.761673@guru.mired.org>
In-Reply-To: <19898753@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
dave phinney <dave.phinney@insinc.com> types:
> Hello,
> 
> I'd building a system with a smallish flash drive and no swap (but plenty
> of RAM), and would like to create a memory-based /tmp using md(4) or
> whatever. Is this possible without swap or a file to back/initialize it?

Yes.

> I've checked the docs and mailing lists and haven't been able to turn up
> much. There's mention of loading via module at boot, but this looks like
> it needs a file.

I have no idea what gives you that idea. My md man page doesn't
mention swap or a file at all.

On second thought, I'll modify the above answer to "Yes, providing
you're running a recent release of FreeBSD."

	<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?15284.51670.298496.761673>