Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!newsfeed.internetmci.com!news.mathworks.com!uunet!in1.uu.net!world!news.bu.edu!mi From: mi@cs.bu.edu (Mikhail Teterin) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Using Windows Swap space? Am I going mad? Date: 19 Jul 1995 02:56:43 GMT Organization: Computer Science Department, Boston University, Boston, MA, USA Lines: 31 Message-ID: <3uhs9b$j9s@news.bu.edu> References: <3ugj57$ih7@bell.maths.tcd.ie> NNTP-Posting-Host: csb.bu.edu X-Newsreader: TIN [version 1.2 PL2] Some time ago (18 Jul 1995 16:14:47 +0100) honorable Colman Reilly, residing at creilly@maths.tcd.ie wrote: |I could have sworn that a while ago I saw a brief discussion of |using Windows swap files as swap space for FreeBSD, which indicated it was |possible. |Did I, or am I just imagining it? I *have* searched the archives, and couldn't |find it. That was humble me who asked, and turned out that people have been succesfully doing it for a while. (Although one concerned Unix user, was upset for mentioning Windoze name here (-: ). The trick is, you need to make a vnode device (go to /dev and say MAKEDEV vn0, for instance). Then, use vnconfig(8) to "relate" 386spart.par (or page-whatever, if you have NT...) to /dev/vn0. vnconfig can enable swap, if you ask it properly... man page lies about vnconfig (at least in ALPHA), so, here is my /etc/vntab (I only have one line): /dev/vn0 /diskc/386spart.par swap And this is the line in my /etc/rc.local, which makes use of it: vnconfig -a -v -e BTW, some other DOS-programms also keep their own swap-files, that can be used from FBSD, as a spare swap, or for a temporary filesystems. But, since read-write has to go thru additional stack of functions, to access such files, you'll lose some perfomance. Good luck! -mi -- И пусть никто не уйдёт обиженным... -- Why is that 2 o'clock all the time?! -- It is a manometer!!!