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 |
Guido van Rossum | 6252229 | 1992-12-20 14:58:09 +0000 | [diff] [blame] | 4 | protocol and (part of) the NFS protocol, respectively. There is also |
| 5 | a way to create servers in Python. |
Guido van Rossum | 2f5dd88 | 1992-12-17 17:32:10 +0000 | [diff] [blame] | 6 | |
| 7 | To test the nfs client, run it from the shell with something like this: |
| 8 | |
| 9 | python -c 'import nfsclient; nfsclient.test()' hostname [filesystemname] |
| 10 | |
| 11 | When called without a filesystemname, it lists the filesystems at the |
| 12 | host (default the local machine). |
| 13 | |
| 14 | For hostname, use e.g. wuarchive.wustl.edu or gatekeeper.dec.com (two |
| 15 | hosts that are known to export NFS filesystems with little restrictions). |
| 16 | |
| 17 | Note: this was developed for Python 0.9.8beta (not yet released). I |
| 18 | have 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 |
| 21 | particular, if you don't have the built-in module "select", UDP |
| 22 | time-outs and retries won't work. |