diod "I/O forwarding server for 9P"
To Install diod 9P:
$ sudo apt-get install diod
Configuration server /etc/diod.conf:
--
-- /etc/diod.conf - config file for diod distributed I/O daemon
--
-- NOTE: This config file is a lua script that diod runs, then extracts
-- the value of certain globally defined variables. See diod.conf(5).
listen = { "XXX.XXX.XXX.XXX:port" }
-- nwthreads = 16
auth_required = 0
logdest = "syslog:daemon:err"
exports = { "/one/path", "/other/path" }
-- allsquash = 0
-- squashuser = "nobody"
XXX.XXX.XXX.XXX: ip address
port: port to listen by default 564
Enable the server at startup /etc/default/diod:
# Defaults for diod
# Change to true to enable the server at startup.
DIOD_ENABLE=true
# Additional options that are passed to the Daemon.
DAEMON_ARGS=""
Start service:
$ sudo /etc/init.d/diod start