*BSD News Article 50574


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!news.uoregon.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!news.sprintlink.net!in1.uu.net!mozz.unh.edu!toto.plymouth.edu!oz.plymouth.edu!not-for-mail
From: ted@oz.plymouth.edu (Ted Wisniewski)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help with Swap Please
Date: 9 Sep 1995 22:33:54 -0400
Organization: Plymouth State College - Plymouth, NH.
Lines: 33
Message-ID: <42tiqi$s99@oz.plymouth.edu>
References: <42pvfo$f7c@armitage.cyberspace.com> <42t80n$mcv@uuneo.neosoft.com>
NNTP-Posting-Host: oz.plymouth.edu

In article <42t80n$mcv@uuneo.neosoft.com> ctoriger@starbase.neosoft.com (Chris Origer) writes:
>The Man in Black (samz@support.usnetwork.com) wrote:
>: If someone can help me with this it will be greatly apreciated. Does 
>: to the swap. Can this be done? Or am I stuck in having to start all over 
>: from scratch and install it right? Thanks.
>
>
>Stuck... sorry.
>

If you installed a recent version (Not 2.0R) then do  a man on vnconfig,
you can set up swap on a file.  I have done it and it does work.

	do:	

		cd /dev
		./MAKEDEV vn0
		
	then (as an example)

		dd if=/dev/zero count=10000 bs=1024 of=/usr/swapfile     
		vnconfig -c /dev/vn0 /usr/swapfile swap
		swapon /dev/vn0

Presto an additional 10ish Meg of swap.

This swap will not be as fast as real swap but it will do in a pinch.


|   Ted Wisniewski    		     INET:  ted@oz.plymouth.edu          |
|   Computer Services                       ted@wiz.plymouth.edu         |
|   Plymouth State College                  tedw@psc.plymouth.edu        |
|   Plymouth NH, 03264               HTTP:  http://oz.plymouth.edu/~ted/ |