*BSD News Article 89046


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!worldnet.att.net!news.maxwell.syr.edu!nntp.uio.no!Norway.EU.net!EU.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD - Diskless boot
Date: 11 Feb 1997 16:49:31 GMT
Organization: interface business GmbH, Dresden
Lines: 22
Message-ID: <5dq7ur$404@innocence.interface-business.de>
References: <E5EG3M.519@cs.fredonia.edu>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5355

mazumdar@cs.fredonia.edu (Jin Mazumdar) wrote:

> 	I am trying to boot NetBSD on a Sun IPC from a FreeBSD machine.
> Things go well till it tries to initialize the swap partition.  The 
> swap partition is also remotely mounted.  I have tried a directory as
> well as a flat file for the swap file.  Must it be a true disk partition
> or can it be faked?

It can be faked, but you need a mountd that groks the `-r' option:

     -r      The -r option allows mount RPCs requests for regular files to be
             served.  Although this seems to violate the mount protocol speci-
             fication, some diskless workstations do mount requests for their
             swapfiles and expect them to be regular files. Since a regular
             file cannot be specified in /etc/exports, the entire file system
             that the swapfiles reside in will have to be exported with the
             ``-alldirs'' flag.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j