*BSD News Article 6718


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!news.qut.edu.au!qut.edu.au!csb960lanaga
From: csb960lanaga@qut.edu.au
Newsgroups: comp.unix.bsd
Subject: Re: Adding Swapspace ??
Message-ID: <1992Oct19.152534.56839@qut.edu.au>
Date: 19 Oct 92 15:25:33 EST
Organization: Queensland University of Technology
Lines: 16

I have NFS working from a single 1.2 Floppy. I mount / from another
machine under /mnt  and then do a chroot /mnt sh. While ever the 
shell is running the filesystem is root. Only problem is no swap.

I see there is a file /usr/src/sys.386bsd/conf/nfsswapvmunix.c
which allows you to mount a file system over nfs as root and 
have swap on it.

I have two questions.
	1. How do you compile the structure in this 
		file into the kernel?

	2. How do you set up the structure, I do not understand 
		the sockaddr structure and the file handle arrays?

Thanks in advance.