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

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
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 © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].