From owner-freebsd-questions Tue Feb 11 06:11:48 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA21546 for questions-outgoing; Tue, 11 Feb 1997 06:11:48 -0800 (PST) Received: from m1.cs.man.ac.uk (0@m1.cs.man.ac.uk [130.88.13.4]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id GAA21538 for ; Tue, 11 Feb 1997 06:11:38 -0800 (PST) Received: from amu7.cs.man.ac.uk by m1.cs.man.ac.uk (4.1/SMI-4.1:AL6) id AA24198; Tue, 11 Feb 97 14:11:25 GMT Date: Tue, 11 Feb 97 14:11:24 GMT From: David Alan Gilbert Message-Id: <9702111411.AA13548@amu7.cs.man.ac.uk> To: jonathan@cc.odu.edu, questions@freefall.freebsd.org Subject: Re: Can Linux/FreeBSD share swap? Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Linux can share swap with FreeBSD with a simple hack. There are two things stopping you. The first is that Linux doesn't by default know about FreeBSDs slice/partition scheme - if you wan't that you'll have to compile it in. Next problem is that Linux looks for a swap header (to stop you accidentally swapping onto a file system besides any other use). You have to defeat this on each Linux boot by adding: /sbin/mkswap devicename in your /etc/rc....whatever.... before the swapon The ext2fs works well on both OS's; however be aware that I don't think 2.1.6 FreeBSD knows about it, and you have to recompile a kernel to get it into 2.2. Also the FreeBSD ext2fs code is missing 'cookie' code to enable an ext2fs to be exported. Dave