package protocol-9p-tool

  1. Overview
  2. Docs
An implementation of the 9p protocol in pure OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

protocol-9p-2.1.0.tbz
sha256=28bace4c680708495bf3f8c936ade387870887c39c507318ecab456bf8824845
sha512=5c4a421211e84ddc2a4588d3d7d1979de83e32e8e5cde926ea0c93272720b67f009ead0ad51d087a62bffbad884390f02e030752c435f442115ee82ce932b741

Description

ocaml-9p is an implementation of the 9P protocol, written in a Mirage-friendly style. This opam package contains the Unix client.

Example of the CLI program is:

o9p ls --username vagrant   /var
drwxr-xr-x ? root root 4096 Feb 2  2015 lib
drwxr-xr-x ? root root 4096 Mar 15 2015 cache
-rwxrwxrwx ? root root 9    May 10 2014 lock
drwxrwxrwx ? root root 4096 Jul 6  2015 tmp
drwxr-xr-x ? root root 4096 May 11 2014 spool
drwxrwxr-x ? root sshd 4096 Sep 28 2015 log
drwxr-xr-x ? root root 4096 Sep 21 2015 backups
drwxrwxr-x ? root mail 4096 Apr 16 2014 mail
drwxr-xr-x ? root root 4096 Apr 16 2014 opt
drwxrwxr-x ? root 50   4096 Apr 10 2014 local
-rwxrwxrwx ? root root 4    May 10 2014 run

Published: 27 Aug 2025

README

OCaml-9P -- An implementation of the 9p protocol in pure OCaml

Build Status Coverage Status

ocaml-9p is an implementation of the 9P protocol, written in a Mirage-friendly style.

Please read the API documentation.

Example of the CLI example program:

o9p ls --username vagrant   /var
drwxr-xr-x ? root root 4096 Feb 2  2015 lib
drwxr-xr-x ? root root 4096 Mar 15 2015 cache
-rwxrwxrwx ? root root 9    May 10 2014 lock
drwxrwxrwx ? root root 4096 Jul 6  2015 tmp
drwxr-xr-x ? root root 4096 May 11 2014 spool
drwxrwxr-x ? root sshd 4096 Sep 28 2015 log
drwxr-xr-x ? root root 4096 Sep 21 2015 backups
drwxrwxr-x ? root mail 4096 Apr 16 2014 mail
drwxr-xr-x ? root root 4096 Apr 16 2014 opt
drwxrwxr-x ? root 50   4096 Apr 10 2014 local
-rwxrwxrwx ? root root 4    May 10 2014 run

This library supports the 9P2000.u extension

Dependencies (11)

  1. cmdliner >= "1.1.0"
  2. win-error
  3. lambda-term >= "3.0.0"
  4. fmt >= "0.9.0"
  5. logs >= "0.5.0"
  6. rresult
  7. base-bytes
  8. protocol-9p-unix = version
  9. protocol-9p = version
  10. dune >= "1.0"
  11. ocaml >= "4.08.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.