Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 1997 10:24:12 PDT
From:      "Marty Leisner" <leisner@sdsp.mc.xerox.com>
To:        Zahemszky Gabor <zgabor@code.hu>
Cc:        freebsd-questions@freebsd.org (FreeBSD questions), potok@free.polbox.pl
Subject:   Re: Windows 383spart.par as SWAP slice? 
Message-ID:  <9705301724.AA04250@gnu.sdsp.mc.xerox.com>
In-Reply-To: Your message of "Mon, 26 May 1997 02:16:10 PDT." <199705260916.LAA00801@CoDe.hu> 

next in thread | previous in thread | raw e-mail | index | archive | help


It may work better if you have a dedicated swap partition...

In linux (I haven't done the bsd incantations yet) I:
	mount /dev/swap-partition /mnt
	look and erase swap files
	if there's nothing important there, continue
	umount
	dd if=/dev/swap-partition count=<some reasonable number> | gzip -c >
/tmp/swap.gz
	do whatever I want with the paritition

on shutdown I
	swapoff (does bsd support this?)
	zcat /tmp/swap.gz >/dev/swap-partition.



-- 
marty
leisner@sdsp.mc.xerox.com  
The Feynman problem solving Algorithm
        1) Write down the problem
        2) Think real hard
        3) Write down the answer
                Murray Gel-mann in the NY Times







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