Date: Thu, 6 Feb 1997 22:59:47 -0800 (PST) From: Doug White <dwhite@gdi.uoregon.edu> To: Marty Leisner <leisner@sdsp.mc.xerox.com> Cc: Jonathan Sturges <jonathan@cc.odu.edu>, questions@freebsd.org Subject: Re: Can Linux/FreeBSD share swap? Message-ID: <Pine.BSI.3.94.970206225742.777D-100000@localhost> In-Reply-To: <9702070015.AA02844@gnu.sdsp.mc.xerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Feb 1997, Marty Leisner 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. > > 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? Not really, I haven't ever tried it. :) If you have something similar working and know how to do it, and don't mind sacrificing your filesystems for the good of FreeBSD, go ahead :) > 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). Is linux running UMSDOS or mounting the DOS partition? > I was under the impression in freebsd you can swap on arbitrary partitions > (so I want to use the same strategy). Again, I don't know how rigorous the FS emulation code is. Swap would really test it. > 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). As long as you don't run, say, Xwindows. If I ran anything above X and 3 xterms, I swapped on 16mb. I upgraded to 32mb; I can get it to swap *occaisionally*. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970206225742.777D-100000>