Subject: mountd -alldirs???
To: None <current-users@NetBSD.ORG>
From: Paul Boven <e.p.boven@student.utwente.nl>
List: current-users
Date: 03/03/1997 22:53:56
Hi everyone,

While trying to boot a Sun3 diskless from my Sparc I keep running into
problems with mountd. I've set up things the way the diskless manpage says: 
I have a /usr/exports, in which there is a dir sun3 with the root of the

sun3-filesystem, and a swapfile of 16MB.
drwxr-xr-x  14 root  wheel       512 Mar  3 21:49 sun3/
-rw-r--r--   1 root  wheel  16777216 Mar  3 21:30 swap

My bootparamsfile:
sun3 root=130.89.234.74:/usr/exports/sun3 \
    swap=130.89.234.74:/usr/exports/swap

And my exports:
/usr/exports -alldirs -maproot=root sun3

When starting mountd, it complains when the -alldirs is there:
mountd[160]: Could not remount /usr/exports: Invalid argument
mountd[160]: Bad exports list line /usr/exports -alldirs -maproot

And subsequently, nothing will get mounted. Removing the -alldirs
and settting the exported directory to /usr/exports/sun3 at leasts
gets the kernel nfs-loaded, but I can`t get swap mounted then.

So.. what's wrong with what I'm doing, or with mountd? 

Regards, Paul.
-- 
----------------------------------------------------------------------
Paul Boven, <e.p.boven@student.utwente.nl>  PE1NUT  QRV 145.575 JO32KF
          Lynx users have a "Right to follow a link", too!
----------------------------------------------------------------------