From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 16:56:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 544D816A4CE for ; Thu, 24 Feb 2005 16:56:16 +0000 (GMT) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1958143D1F for ; Thu, 24 Feb 2005 16:56:16 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 19356 invoked from network); 24 Feb 2005 16:56:15 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Feb 2005 16:56:15 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 6C64181; Thu, 24 Feb 2005 11:56:13 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Lars Kristiansen" References: <61266.213.236.228.129.1109260920.squirrel@mail.adventuras.no> From: Lowell Gilbert Date: 24 Feb 2005 11:56:13 -0500 In-Reply-To: <61266.213.236.228.129.1109260920.squirrel@mail.adventuras.no> Message-ID: <44u0o1dhhu.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Cleaning /tmp on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 16:56:16 -0000 "Lars Kristiansen" writes: > > Alternatively, is there something similar to tmpfs from Linux > > available on FreeBSD? I've heard about mfs but it statically > > allocates memory from the VM, I'd prefer if allocation was done only > > as needed on demand. > > Found these: > http://docs.freebsd.org/cgi/mid.cgi?41E01905.3040200 > http://docs.freebsd.org/cgi/mid.cgi?45044.1105365790 > > So swap backed memory disks only swaps to disk when necessary. > > Wish that could have been mentioned in the handbook or man-pages. > Should I try to PR that? Someone more knowledgeable will do it I hope :-) --- src/share/man/man4/md.4.ORIG Thu Feb 24 11:51:37 2005 +++ src/share/man/man4/md.4 Thu Feb 24 11:51:51 2005 @@ -50,7 +50,7 @@ This allows for mounting ISO images without the tedious detour over actual physical media. .It Cm swap -Backing store is allocated from swap space. +Backing store is allocated from virtual memory space. .El .Pp For more information, please see Feel free to PR. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/