*BSD News Article 78898


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!news.intersurf.net!news.webspan.net!usenet
From: "Jordan K. Hubbard" <jkh@FreeBSD.org>
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Netbooting NetBSD/SPARC from FreeBSD-box
Date: Mon, 23 Sep 1996 12:15:00 -0700
Organization: Walnut Creek CDROM
Lines: 23
Message-ID: <3246E1B4.3F54BC7E@FreeBSD.org>
References: <51s4j3$2n0@charm.il.ft.hse.nl> <51ul84$68@pier2.bayarea.net>
NNTP-Posting-Host: time.cdrom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.2-CURRENT i386)
To: "Jason R. Thorpe" <thorpej@baygate.bayarea.net>

Jason R. Thorpe wrote:
> 
> In article <51s4j3$2n0@charm.il.ft.hse.nl>,
> Edwin Mons <edwinm@il.ft.hse.nl> wrote:
> 
> >problem lies.  Aparently, FreeBSD 2.1.0 can't export a file (only
> >directories), while NetBSD/SPARC wants the swapfile to be mountable.
> 
> That's probably the problem, yes.
> 
> >Does anybody know a sollution for this problem?
> 
> Hack your mountd to allow exporting of regular files.  Look for the
> directory check, and make it allow regular files, too.  It's a one-liner.

Is it really necessary to allow arbitrary file exports to boot a sun?
I thought that you just used the bootpd to feed it a kernel then mounted
your root directory normally over NFS.  Of course, I've never tried this
before, so I could be wrong.  Either way, allowing mountd to export
files sounds like a hack. :-(
-- 
- Jordan Hubbard
  President, FreeBSD Project