9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Geoff Collyer <geoff@collyer.net>
To: 9fans@collyer.net
Subject: [9fans] minor fix for nfsserver -f /srv/foo
Date: Tue, 15 Oct 2002 03:54:23 -0700	[thread overview]
Message-ID: <5a8fa412afe13e0e9be5f40f560c6224@collyer.net> (raw)

Without this, the client can't mount "server:foo".

: cpu; history -D nfsmount.c
Oct 15 03:51:56 PDT 2002 nfsmount.c 6538 [geoff]
nfsmount.c:331,334 c /n/dump/2002/1014/sys/src/cmd/9nfs/nfsmount.c:331
< 		p = strrchr(s->service, '!');	/* for -a il!foo */
< 		if(p && strncmp(name, p+1, n) == 0)
< 			return s->root;
< 		p = strrchr(s->service, '/');	/* for -f /srv/foo */
---
> 		p = strrchr(s->service, '!');


             reply	other threads:[~2002-10-15 10:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15 10:54 Geoff Collyer [this message]
2002-10-15 15:11 Russ Cox
2002-10-15 20:28 Geoff Collyer

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=5a8fa412afe13e0e9be5f40f560c6224@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@collyer.net \
    /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).