Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 14:32:45 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Andrew Hesford <ajh3@chmod.ath.cx>
Cc:        Larry Librettez <lipshitz909@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Can linux swap partition be used as freebsd swap?
Message-ID:  <20010325143245.D45772@xor.obsecurity.org>
In-Reply-To: <20010325135002.A81726@cec.wustl.edu>; from ajh3@chmod.ath.cx on Sun, Mar 25, 2001 at 01:50:02PM -0600
References:  <20010325183353.73397.qmail@web13202.mail.yahoo.com> <20010325135002.A81726@cec.wustl.edu>

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

[-- Attachment #1 --]
On Sun, Mar 25, 2001 at 01:50:02PM -0600, Andrew Hesford wrote:
> 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.

newfs isn't used to create swap partitions, afaik.  It doesn't care
what's on the disk already, it just uses it.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE6vnIMWry0BWjoQKURAqJDAJ9sBIoJDxHiPhde5S0bNT1XJaf7ZgCfRx0H
YIqf+0qY47mf4pnI2leFt3M=
=hFF0
-----END PGP SIGNATURE-----
help

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