Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 1997 16:15:49 PST
From:      "Marty Leisner" <leisner@sdsp.mc.xerox.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        Jonathan Sturges <jonathan@cc.odu.edu>, questions@freebsd.org
Subject:   Re: Can Linux/FreeBSD share swap? 
Message-ID:  <9702070015.AA02844@gnu.sdsp.mc.xerox.com>
In-Reply-To: Your message of "Thu, 06 Feb 1997 10:29:40 PST." <Pine.BSI.3.94.970206102721.829E-100000@localhost> 

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

> 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





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