package protocol-9p-unix

  1. Overview
  2. Docs
A Unix 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 package supports the Unix socket library.

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 (17)

  1. ppx_sexp_conv
  2. io-page >= "2.4.0"
  3. win-error
  4. fmt >= "0.9.0"
  5. astring
  6. base-unix
  7. lwt >= "3.0.0"
  8. mirage-flow >= "4.0.0"
  9. rresult
  10. prometheus
  11. sexplib > "113.00.00"
  12. cstruct-lwt >= "6.0.0"
  13. cstruct >= "6.0.0"
  14. base-bytes
  15. protocol-9p = version
  16. dune >= "1.0"
  17. ocaml >= "4.08.0"

Dev Dependencies (3)

  1. alcotest with-test & >= "0.4.0"
  2. logs with-test & >= "0.5.0"
  3. mirage-channel with-test & >= "4.0.0"

Used by (1)

  1. protocol-9p-tool = "0.12.0" | >= "2.0.0"

Conflicts

None

OCaml

Innovation. Community. Security.