From owner-freebsd-questions Sun Mar 25 11:50:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmod.ath.cx (CC2-1242.charter-stl.com [24.217.116.226]) by hub.freebsd.org (Postfix) with ESMTP id AEC1837B719 for ; Sun, 25 Mar 2001 11:50:48 -0800 (PST) (envelope-from ajh3@chmod.ath.cx) Received: by chmod.ath.cx (Postfix, from userid 1001) id EF43CA913; Sun, 25 Mar 2001 13:50:02 -0600 (CST) Date: Sun, 25 Mar 2001 13:50:02 -0600 From: Andrew Hesford To: Larry Librettez Cc: freebsd-questions@freebsd.org Subject: Re: Can linux swap partition be used as freebsd swap? Message-ID: <20010325135002.A81726@cec.wustl.edu> References: <20010325183353.73397.qmail@web13202.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010325183353.73397.qmail@web13202.mail.yahoo.com>; from lipshitz909@yahoo.com on Sun, Mar 25, 2001 at 10:33:53AM -0800 X-Loop: Andrew Hesford Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What about adding a newfs command to the startup scripts? I think FreeBSD can use any filesystem for swap, as long as the filesystem is recognized by the kernel. Since linux swap is definitely not recognized, you can newfs it as UFS on every boot. Then, from linux, you would mkswap in the bootscripts. Make sure this is done before the swap is mounted, though. On Sun, Mar 25, 2001 at 10:33:53AM -0800, Larry Librettez wrote: > I have both FreeBSD 4.2-STABLE and > Slackware Linux installed on my laptop. I use FreeBSD > more frequently as it is a much better OS overall, but > due to the limited size of this laptop's hard disk, I > would like to make use of the linux swap partition as > additional swap space for FreeBSD (in addition to the > FreeBSD swap slice). > > I've already looked at the Linux+FreeBSD mini-HOWTO, > but that document only addresses how to use FreeBSD > swap from within Linux, and not vice-versa. > > Is it possible to do this (use linux swap partition as > additional swap space for FreeBSD), and can anyone > point to any additional documentation? -- Andrew Hesford ajh3@chmod.ath.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message