XZX(1): export local files using the zx file protocol
__________________________________________________
USAGE
usage: xzx [-ADZnsv] [-a addr] [-p port] {spec}
-A: auth debug
-D: debug
-Z: verbose debug
-a addr: service address (*!*!zx by default)
-n: no auth
-p port: tcp server port (8002 by default)
-s: use writesync for caches
-v: report users logged in/out (verbose)
spec is name | name!file | name!file!flags
spec flags are ro | rw | ncro | ncrw
DESCRIPTION
Xzx serves the named file trees using zx. Each tree is specified
as either name or name!file or name!file!flags. The name
indicates the name used for the tree, the file (name) indicates
the directory to serve (by default the same of name), and the
flags indicate how to serve it (by default read write and using a
memory cache).
Known flags are ro (read-only) or rw (read-write), perhaps
prefixed with nc if no in-memory cache is desired.
EXAMPLE
Serve the files at /lsub in read-write mode using an in-memory
cache, and the files at /dump without caching in read-only mode.
; xzx -sv 'lsub!/lsub!rw' 'dump!/dump!ncro'
SOURCE
+o /zx/sys/src/clive/cmd/xzx
SEE ALSO
+o zxfuse(1) to import exported trees.
+o intro(1) to learn how to use name spaces to access them.
__________________________________________________
User's manual. Section 1. Copyright © LSUB 2014-2016