Discussion:
[9fans] exportfs -r vs /rc/bin/service/!tcp564
(too old to reply)
erik quanstrom
2013-05-06 20:41:10 UTC
Permalink
exportfs(4) claims that -r skips the initial protocol. but it appears that
it only skips the initial part of the intial protocol, making
; cat /n/sources/plan9/rc/bin/service/!tcp564
#!/bin/rc
mount '#s/boot' /root $rootspec
exec /bin/exportfs -r /root
incompatable with real file servers. it appears that the
linux 9p file module requires this behavior, and it is not
capable of connecting to regular file servers.

so my question is, should the manual page or the code
be corrected?

- erik
a***@9srv.net
2013-05-06 22:00:17 UTC
Permalink
Alternately, see /n/sources/patch/import-z. That seems like
the right answer to me.

I assume you mean the !tcp564 example is incompatible
with real *9p clients*.
erik quanstrom
2013-05-06 22:17:02 UTC
Permalink
Post by a***@9srv.net
Alternately, see /n/sources/patch/import-z. That seems like
the right answer to me.
isn't this trying to solve a problem already solved by srv(1)
in an incompatable way?
Post by a***@9srv.net
I assume you mean the !tcp564 example is incompatible
with real *9p clients*.
yes.

- erik

Loading...