Guido van Rossum | 2f5dd88 | 1992-12-17 17:32:10 +0000 | [diff] [blame^] | 1 | This is a VERY preliminary release of my Python interface to Sun RPC. |
| 2 | It consists of two library modules, xdr.py and rpc.py, and two example |
| 3 | clients, mountclient.py and nfsclient.py, implementing the NFS Mount |
| 4 | protocol and (part of) the NFS protocol, respectively. |
| 5 | |
| 6 | To test the nfs client, run it from the shell with something like this: |
| 7 | |
| 8 | python -c 'import nfsclient; nfsclient.test()' hostname [filesystemname] |
| 9 | |
| 10 | When called without a filesystemname, it lists the filesystems at the |
| 11 | host (default the local machine). |
| 12 | |
| 13 | For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two |
| 14 | hosts that are known to export NFS filesystems with little restrictions). |
| 15 | |
| 16 | Note: this was developed for Python 0.9.8beta (not yet released). I |
| 17 | have 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 |
| 20 | particular, if you don't have the built-in module "select", UDP |
| 21 | time-outs and retries won't work. |