Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f5dd88

Browse files
committed
Initial revision
1 parent a585444 commit 2f5dd88

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

Demo/rpc/MANIFEST

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
File Name Archive # Description
2+
-----------------------------------------------------------
3+
MANIFEST 1 This shipping list
4+
README 1
5+
T.py 1
6+
mountclient.py 1
7+
nfsclient.py 1
8+
rpc.py 1
9+
xdr.py 1

Demo/rpc/README

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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.

0 commit comments

Comments
 (0)