Module Tjr_minifs

Simple filesystem modules.

Base utilities

module Log_ : sig ... end

Interface

module Minifs_intf : sig ... end

Minifs main types; safe to open.

Readdir util

module Readdir_util : sig ... end

A utility function to return all possible entries in a directory (for small directories/testing only!)

Fuse

module Fuse_ : sig ... end

Construct Fuse.operations given a backend FS ops

In-memory

module In_mem : sig ... end

Construct an in-memory version of the filesystem ops; don't open

Unix

module Unix_ops : sig ... end

Construct a wrapper round a local POSIX filesystem

module Unix_with_int_handles : sig ... end

Version of unix ops that keeps track of an int<->fd/dh map

Fuse + in-mem

module Fuse_in_mem : sig ... end

A fuse filesystem backed by an in-memory FS

Networked filesystem "NFS"

module Nfs_aux : sig ... end

NFS utility functions

module Nfs_client : sig ... end

NFS client: pass requests over the network to a server

module Nfs_server : sig ... end

NFS server, backed by some filesystem

Fuse + NFS (client and server)

module Fuse_nfs : sig ... end

The most complicated example: an NFS client mounted via FUSE

Lwt util: co-eta

module Lwt_util : sig ... end

Implement "co-eta" to extract a value from the lwt monad.