003 File Manager
Current Path:
/usr/src/contrib/lib9p/pytest
usr
/
src
/
contrib
/
lib9p
/
pytest
/
📁
..
📄
.gitignore
(31 B)
📄
Makefile
(159 B)
📄
README
(983 B)
📄
client.py
(23.66 KB)
📄
lerrno.py
(10.43 KB)
📄
numalloc.py
(12.29 KB)
📄
p9conn.py
(70.91 KB)
📄
p9err.py
(2.92 KB)
📄
pfod.py
(7.03 KB)
📄
protocol.py
(72.68 KB)
📄
sequencer.py
(22.05 KB)
📄
testconf.ini.sample
(289 B)
Editing: README
Here are some very skeletal instructions for using the client test code. on server (assumes BSD style LD_LIBRARY_PATH): mkdir /tmp/foo cd lib9p env LD_LIBRARY_PATH=. LIB9P_LOGGING=stderr example/server -h localhost -p 12345 /tmp/foo (this can be run as a non-root user for now, but some things only work when run as root) on client (same machine as server, but can always be run as non-root user): cd lib9p/pytest ONE TIME ONLY: copy testconf.ini.sample to testconf.ini, adjust to taste ./client.py TODO: rework ./client so it can locate the .ini file better ######## IF USING diod (http://github.com/chaos/diod) AS THE SERVER ON A LINUX MACHINE: - The instructions for running the server are (or were): sudo ./diod -f -d 1 -n -e /tmp/9 - You must mkdir the exported 9pfs file system (e.g., mkdir /tmp/9). - While uname is not really used, aname (the attach name) IS used and must match the exported file system, e.g., testconf.ini must have "aname = /tmp/9".
Upload File
Create Folder