blob: d05d1826c824a979ebe46bb0b012798ad24580cf [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
Guido van Rossum62522291992-12-20 14:58:09 +00004protocol and (part of) the NFS protocol, respectively. There is also
5a way to create servers in Python.
Guido van Rossum2f5dd881992-12-17 17:32:10 +00006
7To test the nfs client, run it from the shell with something like this:
8
9 python -c 'import nfsclient; nfsclient.test()' hostname [filesystemname]
10
11When called without a filesystemname, it lists the filesystems at the
12host (default the local machine).
13
14For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two
15hosts that are known to export NFS filesystems with little restrictions).
16
17Note: this was developed for Python 0.9.8beta (not yet released). I
18have tried to put in compatibility hacks for Python 0.9.7beta
19(available from ftp.cwi.nl) but I cannot guarantee that it will work
20-- if it doesn't, let me know and I'll see what I can do. In
21particular, if you don't have the built-in module "select", UDP
22time-outs and retries won't work.