blob: daa5a26a3820c4aac2b34b1c7f37d18995da4bb5 [file] [log] [blame]
Guido van Rossum2f5dd881992-12-17 17:32:10 +00001This is a VERY preliminary release of my Python interface to Sun RPC.
2It consists of two library modules, xdr.py and rpc.py, and two example
3clients, mountclient.py and nfsclient.py, implementing the NFS Mount
4protocol and (part of) the NFS protocol, respectively.
5
6To test the nfs client, run it from the shell with something like this:
7
8 python -c 'import nfsclient; nfsclient.test()' hostname [filesystemname]
9
10When called without a filesystemname, it lists the filesystems at the
11host (default the local machine).
12
13For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two
14hosts that are known to export NFS filesystems with little restrictions).
15
16Note: this was developed for Python 0.9.8beta (not yet released). I
17have tried to put in compatibility hacks for Python 0.9.7beta
18(available from ftp.cwi.nl) but I cannot guarantee that it will work
19-- if it doesn't, let me know and I'll see what I can do. In
20particular, if you don't have the built-in module "select", UDP
21time-outs and retries won't work.