From owner-freebsd-questions Sun Mar 25 14:32:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-43.dsl.lsan03.pacbell.net [63.207.60.43]) by hub.freebsd.org (Postfix) with ESMTP id 8880B37B719 for ; Sun, 25 Mar 2001 14:32:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 392F266B3C; Sun, 25 Mar 2001 14:32:45 -0800 (PST) Date: Sun, 25 Mar 2001 14:32:45 -0800 From: Kris Kennaway To: Andrew Hesford Cc: Larry Librettez , freebsd-questions@FreeBSD.ORG Subject: Re: Can linux swap partition be used as freebsd swap? Message-ID: <20010325143245.D45772@xor.obsecurity.org> References: <20010325183353.73397.qmail@web13202.mail.yahoo.com> <20010325135002.A81726@cec.wustl.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010325135002.A81726@cec.wustl.edu>; from ajh3@chmod.ath.cx on Sun, Mar 25, 2001 at 01:50:02PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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.=20 >=20 > 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 --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6vnIMWry0BWjoQKURAqJDAJ9sBIoJDxHiPhde5S0bNT1XJaf7ZgCfRx0H YIqf+0qY47mf4pnI2leFt3M= =hFF0 -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message