Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!deep.rsoft.bc.ca!giant!a09878 From: a09878@giant.rsoft.bc.ca (Curt Sampson) Newsgroups: comp.os.386bsd.questions Subject: Re: NFS Woes Date: 19 Jan 94 03:44:02 GMT Organization: MIND LINK! Communications Corp Lines: 50 Message-ID: <a09878.758951042@giant> References: <a09878.758803712@giant> <1994Jan18.202306.21561@nb.rockwell.com> NNTP-Posting-Host: giant.rsoft.bc.ca menaal@rincon (Art Mena) writes: >Are you using the GENERIC kernel? > >I believe that it does not include NFS server capability, only >NFS client. No, I'm using a NetBSD-current (as of late November) kernel on both machines (though I've also tried a GENERICAHA kernel on the client with the same results). The config file has the following definitions in it. # network definitions for epicure options GATEWAY,INET options NFSCLIENT,NFSSERVER This is getting more and more frustrating, because from all appearances it's the client machine, not the server, that messing up (at least from what I can gather from the messages; I know next to nothing about NFS). Here's my /etc/exports file: /usr -root=0 spartan /usr/share So I try some mounts: epicure # mount epicure:/usr/include /mnt Mount RPC error on epicure:/usr/include: Permission denied epicure # mount epicure:/usr /mnt Mount RPC error on epicure:/usr: Permission denied epicure # mount epicure:/usr/share /mnt epicure:/usr/share on /mnt: Permission denied You'll note that I get a an error from the clnt_call(clp, RPC_MOUNT, ...) call in mount.c if I try to mount something that's not in the exports, but I get a different error message, which is from the mount() system call itself, for the things I am allowed to mount. If anyone could give me any clues at all on this, even if it's just "I do it that way and it works for me; here's my kernel config file" I'd really appreciate it. I'm completely stumped on this one. cjs -- Curt Sampson a09878@giant.rsoft.bc.ca Fluor Daniel 604 691 5458 1444 Alberni Street Vanouver, B.C., V6G 2Z4 "Do not expect fairings."