Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 1997 10:11:28 +0300
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Mariusz Potocki <potok@free.polbox.pl>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Windows 383spart.par as SWAP slice?
Message-ID:  <338937A0.285A@barcode.co.il>
References:  <199705260640.IAA04598@free.polbox.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338937A0.285A>