From: matt@proweb.co.uk
To: 9fans@cse.psu.edu
Subject: [9fans] 9nfs
Date: Fri, 10 Oct 2003 02:38:52 +0100 [thread overview]
Message-ID: <344e0ec7b586b08b5df68b7b3843b1dd@juice.thebigchoice.com> (raw)
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;
}
===============
next reply other threads:[~2003-10-10 1:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-10 1:38 matt [this message]
2003-10-10 0:10 ` Russ Cox
-- strict thread matches above, loose matches on Subject: below --
2003-10-10 0:54 YAMANASHI Takeshi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=344e0ec7b586b08b5df68b7b3843b1dd@juice.thebigchoice.com \
--to=matt@proweb.co.uk \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).