From owner-freebsd-questions Mon May 26 00:14:04 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA03203 for questions-outgoing; Mon, 26 May 1997 00:14:04 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA03195 for ; Mon, 26 May 1997 00:13:59 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id KAA07914; Mon, 26 May 1997 10:12:30 +0300 (IDT) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma007912; Mon May 26 10:12:01 1997 Message-ID: <338937A0.285A@barcode.co.il> Date: Mon, 26 May 1997 10:11:28 +0300 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Mariusz Potocki CC: questions@FreeBSD.ORG Subject: Re: Windows 383spart.par as SWAP slice? References: <199705260640.IAA04598@free.polbox.pl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Mariusz Potocki wrote: > > Is it possible to use permanent swap file from M$ Windows > 386spart.par (existing on FAT partition) as a SWAP slice under > FreeBSD? (I'm short on space on FBSD partition). > If yes, is it faster or slower solution than have real SWAP slice? > > TIA > Mariusz It's possible, but a bit tricky and dangerous. You have to mount your FAT partition, and then configure a vn device on the Windows swapfile and use that as your wsap partition. See man vnconfig for details (I think it's also covered in the FAQ or handbook somewhere, under something like: "I ran out of swap, what should I do?" or the like). It is slower because all swapping will have to go through both the vn code and the msdosfs code, instead of going directly to the raw disk device, but it's workable. Nadav