From owner-freebsd-questions Thu Feb 6 16:28:03 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA17792 for questions-outgoing; Thu, 6 Feb 1997 16:28:03 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA17767 for ; Thu, 6 Feb 1997 16:27:59 -0800 (PST) Received: from www.sdsp.mc.xerox.com ([13.231.132.18]) by alpha.xerox.com with SMTP id <14559(7)>; Thu, 6 Feb 1997 16:27:19 PST Received: from gnu.sdsp.mc.xerox.com (gnu.sdsp.mc.xerox.com [13.231.133.90]) by www.sdsp.mc.xerox.com (8.8.5/8.8.3) with SMTP id TAA10176; Thu, 6 Feb 1997 19:16:00 -0500 (EST) Received: by gnu.sdsp.mc.xerox.com (4.1/client-1.3) id AA02844; Thu, 6 Feb 97 19:15:49 EST Message-Id: <9702070015.AA02844@gnu.sdsp.mc.xerox.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: Doug White Cc: Jonathan Sturges , questions@freebsd.org Subject: Re: Can Linux/FreeBSD share swap? In-Reply-To: Your message of "Thu, 06 Feb 1997 10:29:40 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 6 Feb 1997 16:15:49 PST From: "Marty Leisner" Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Thu, 6 Feb 1997, Jonathan Sturges wrote: > > > I was wondering if Linux (RedHat 4.0, kernel 2.0.25) and FreeBSD (2.1.6 > > or 2.2) could share a swap partition. I want to run both OSes, but I'm > > not swimming in disk space, and it seems silly to allocate 2 separate > > swap partitions, one for each OS. > > This is trickier than it sounds. FreeBSD's swap space is located within > it's own slice, likewise for Linux. The problem is that one system can't > read the other's disklabel, so it can't figure out just where the swap is. > This question has been asked before, take a look through the mail > archives. > > Are you sure? I'm sharing a swap partition on linux and win95...when I boot linux I erase the dos files, dd it, and mkswap it (putting back the old image on shutdown). I was under the impression in freebsd you can swap on arbitrary partitions (so I want to use the same strategy). I'm going to swap on OS/2 on the same parititon (its 35 MB). I think NT insists on an NTFS partion to swap.. (??) I strongly encourage making small swap parititons (I'm putting it in extended partitions) then swap files...then if something breaks, its no big deal... What I would like is not to insist on swap when I install (on machines with >16 Mbyte of ram, its reasonable not to have to make a swap parititon). -- marty leisner@sdsp.mc.xerox.com Member of the League for Programming Freedom