Plan 9 from Bell Labs’s /n/sources/patch/sorry/exportfs-r-problem/readme

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


exportfs -r without -B fails because it skips the initial protocol.

For example, executing this one on host A
% aux/listen1 -tv tcp!$addr!64470 /bin/exportfs -r /dev
and executing this on host B
% import -A tcp!$addr!64470 
will typically either fail to read the initial string or result in a bad tree.

I believe that exportfs should only skip the initial protocol with -B, -S, etc.
The fix entails reading the path requested by import and discarding it.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.