* Re: [9fans] minor fix for nfsserver -f /srv/foo
@ 2002-10-15 20:28 Geoff Collyer
0 siblings, 0 replies; 3+ messages in thread
From: Geoff Collyer @ 2002-10-15 20:28 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 103 bytes --]
No, the code tries to match the full "filename" first, then looks for
strings following "!" and "/".
[-- Attachment #2: Type: message/rfc822, Size: 1349 bytes --]
From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] minor fix for nfsserver -f /srv/foo
Date: Tue, 15 Oct 2002 11:11:41 -0400
Message-ID: <f53613222fa80e46abb86582d5de4247@plan9.bell-labs.com>
> Without this, the client can't mount "server:foo".
Won't this break clients expecting to mount server:/srv/foo ?
Russ
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] minor fix for nfsserver -f /srv/foo
@ 2002-10-15 15:11 Russ Cox
0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2002-10-15 15:11 UTC (permalink / raw)
To: 9fans
> Without this, the client can't mount "server:foo".
Won't this break clients expecting to mount server:/srv/foo ?
Russ
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9fans] minor fix for nfsserver -f /srv/foo
@ 2002-10-15 10:54 Geoff Collyer
0 siblings, 0 replies; 3+ messages in thread
From: Geoff Collyer @ 2002-10-15 10:54 UTC (permalink / raw)
To: 9fans
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, '!');
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-15 20:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-15 20:28 [9fans] minor fix for nfsserver -f /srv/foo Geoff Collyer
-- strict thread matches above, loose matches on Subject: below --
2002-10-15 15:11 Russ Cox
2002-10-15 10:54 Geoff Collyer
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).