Skip site navigation (1)Skip section navigation (2)
Date:      24 Feb 2005 11:56:13 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Lars Kristiansen" <lars+lister.freebsd@adventuras.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cleaning /tmp on boot
Message-ID:  <44u0o1dhhu.fsf@be-well.ilk.org>
In-Reply-To: <61266.213.236.228.129.1109260920.squirrel@mail.adventuras.no>
References:  <a1138db305022404423f7afde4@mail.gmail.com> <61266.213.236.228.129.1109260920.squirrel@mail.adventuras.no>

next in thread | previous in thread | raw e-mail | index | archive | help
"Lars Kristiansen" <lars+lister.freebsd@adventuras.no> 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/



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