*BSD News Article 78704


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!news.sgi.com!enews.sgi.com!EU.net!news.eunet.fi!hannu
From: hannu@voxware.pp.fi (Hannu Savolainen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Linux and FreeBSD swap share?
Date: Thu, 19 Sep 1996 18:51:08 GMT
Organization: UNIX Sound System Project
Lines: 25
Message-ID: <Dxztp8.Cs@voxware.pp.fi>
References: <51rlp5$k5k@www.uno.edu>
NNTP-Posting-Host: voxware.pp.fi

golden@cs.uno.edu (Golden G. Richard III) writes:

>Anyone have experience with sharing swap partitions between Linux and
>FreeBSD?  Anything to watch out for?
It's possible to access FreeBSD's swap partition from Linux. Linux 2.0.x 
versions have support for "BSD disklabel" (you will have to enable
"UFS filesystem support" too to get it). With the disklabel option
enabled the BSD's swap partition is accessible just like ordinary
secondary partitions.

In my case the FreeBSD swap partition is visible in Linux as /dev/hdb6
(it's on the second HD). To get the swap activated I have the following
lines in /etc/tc.d/rc.local (maybe there is a more elegant way to do it):

mkswap /dev/hdb6
swapon /dev/hdb6

Best regards,

Hannu
-- 
-----------------------------
Hannu Savolainen (hannu@voxware.pp.fi, hannu@4front-tech.com)
http://personal.eunet.fi/pp/voxware/hannu.html (my home page)
http://www.4Front-Tech.com/oss.html (Open Sound System (OSS))