Subject: Swap files
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Space Case <wormey@eskimo.com>
List: current-users
Date: 03/24/1994 12:52:07
I've been recompiling -current on my Mac II (currently running full -current
as of two weeks ago) and have been troubled by my machine freezing solid
(conceptually speaking ;) every time I let it work awhile.  I just realized
what the problem is, what with my fuzzy memory  recalling having seen
something on the subject, and having the sudden inspiration with having put
two and two together.  This being, of course the memory leak in Make.
I'm sitting here and watching the size grow, knowing that it will soon eat
up the miserly 20MB of swap space allocated to the system.

After I realized this, I started reading the man pages of the Sun system
I'm logged in to (after all, it seems to be relatively close to NetBSD)
and noticed something that would allow me to greatly extend my operating
time.  Those of you who are familiar with Suns probably know what I'm
alluding to.  That is the Mkfile command, which produces a swapfile on
a normal file system that is suitable for swapon to mount as additional
swap space.

My question is, is there a way to duplicate this functionality in NetBSD?
(Perhaps on one of the alternate filesystem types, of which I admit knowing
absolutely nothing?)  This would allow me to add 120MB or so of swap, and
allow the machine to run from morning to night without stopping (you know
how important this would be when you remember how slow the Mac II is. :)

Thanks,
~Steve


-- 
Steven R. Allen - wormey@eskimo.com
O'Toole's Commentary on Murphy's Law:
	Murphy was an optimist.

------------------------------------------------------------------------------

Reply-To: scottb@pulse-sys.com