From owner-freebsd-install Sun Dec 31 09:53:44 1995 Return-Path: owner-install Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA14895 for install-outgoing; Sun, 31 Dec 1995 09:53:44 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA14890 for ; Sun, 31 Dec 1995 09:53:42 -0800 (PST) Received: from gemini.sdsp.mc.xerox.com ([13.231.132.20]) by alpha.xerox.com with SMTP id <14529(5)>; Sun, 31 Dec 1995 09:53:08 PST Received: by gemini.sdsp.mc.xerox.com (4.1/SMI-4.1) id AA07390; Sun, 31 Dec 95 12:53:18 EST Message-Id: <9512311753.AA07390@gemini.sdsp.mc.xerox.com> To: freebsd-install@freebsd.org Subject: freebsd and swap space Date: Sun, 31 Dec 1995 09:53:16 PST From: "Marty Leisner" Sender: owner-install@freebsd.org Precedence: bulk I'm working on a strategy to share swap space between win95/linux/freebsd and NT using an extended partition... >From what I've seen of the freebsd swap space strategy: 1) we have to select a swap partition within the disk slice 2) we cannot make a swapfile (we have to swap on a swap partition). What I did is I have a dos formatted extended partition (about 30Mbyte). When I boot linux multiuser, I: mount as dos erase all dos files (they should only be swap files) umount as dos do dd if=/dev/swap-space count= | gzip -c >/tmp/swap.copy.gz mkswap /dev/swap-space swapon /dev/swap-space and when I bring down the system I do: swapoff /dev/swap-space zcat /tmp/swap.copy.gz >/dev/swap-space It seems to be working well, I want to implement the same in freebsd... There doesn't seem to be a mkswap or a swapoff command implemented... marty leisner@sdsp.mc.xerox.com Member of the League for Programming Freedom (http://www.lpf.org) Any sufficiently advanced technology is indistinguishable from magic Arthur C. Clarke, The Lost Worlds of 2001