From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <344e0ec7b586b08b5df68b7b3843b1dd@juice.thebigchoice.com> To: 9fans@cse.psu.edu From: matt@proweb.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] 9nfs Date: Fri, 10 Oct 2003 02:38:52 +0100 Topicbox-Message-UUID: 6b332f44-eacc-11e9-9e20-41e7f4b1d025 I'm interested in building a FreeBSD to boot diskless and was reading nfsserver(8) Ending up in the source code and I noticed snippets of debugging cruft hanging around such as the fprints and commented out alarms in /sys/src/cmd/9nfs/unixnames.c shown below. Before I start the long journey does anyone have any insight into how well plan9 behaves as an nfs server. m ============= free(m); break; } fprint(2, "looking for %lux\n", clientip); if(getdom(clientip, dom, sizeof dom)<0){ clog("auth: unknown ip address"); return nil; } fprint(2, "dom is %s\n", dom); for(r=idhead; r; r=r->next){ if(r->u.timestamp == 0 || r->g.timestamp == 0) ========== char *l; // long savalarm; // savalarm = alarm(0); in = Bopen(file, OREAD); if(in == 0){ clog("readunixidmaps can't open %s: %r\n", file); // alarm(savalarm); return -1; } ===============