Subject: Re: nfs swap??
To: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: current-users
Date: 02/19/1995 10:44:01
On Sun, 19 Feb 1995, Chris G Demetriou wrote:

> > 	If its not a dumb question.. how do you export a swapfile under
> > 	netbsd - I guess I could configure the swap onto a local disk on
> > 	the client.. but I was just wondering if I've missed anything??
> 
> i always did it in what i'd consider the obvious way:
> 	(1) create the file (e.g. with dd from /dev/zero)
> 	(2) add it to /etc/exports
> 
	Thats what I thought I did (its been too long since I was soing 
	this under SunOS :)

	No problem creating the file - but then mountd wont accept a file
	in /etc/exports - in the exportfs below .../swap is the actual
	swapfile, and it complains 'Bad export lists line'. If I make .../swap
	a directory (& put the swapfile in it) it exports fine.	(Arg?)

/usr -ro electron
/export/electron/root /export/electron/swap -maproot=0 electron

  D.K.Brownlee@city.ac.uk (MIME).  Network Analyst {post,host}master abs. 
              (>=-=<)   Telephone: (+44) 171 477 8186.  (>=-=<)
  Computing Services, City University, Northampton Square, London EC1V 0HB.
       .-------------------------------------------------------------.
      / Monochrome - biggest UK internet BBS - telnet mono.city.ac.uk \
      `---------------------------------------------------------------'