Exfuse.MountSup (exfuse v0.1.0)

Copy Markdown View Source

Mount supervisor.

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for DynamicSupervisor.init/1.

Start a child (a supervised filesystem). The arguments are the mount point, the implementation module and the options / config. See Exfuse.mount/3 for more details.

Starts the supervisor and links to it.

Return the supervisors running children. See Supervisor.which_children/1 for more details.

Functions

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

init(list)

Callback implementation for DynamicSupervisor.init/1.

start_child(mount_point, fs_mod, fs_state)

@spec start_child(String.t(), module(), term()) :: {:ok, pid()} | {:error, term()}

Start a child (a supervised filesystem). The arguments are the mount point, the implementation module and the options / config. See Exfuse.mount/3 for more details.

start_link()

@spec start_link() :: {:ok, pid()} | {:error, term()}

Starts the supervisor and links to it.

start_link(list)

which_children()

@spec which_children() :: [{:undefined, Supervisor.child(), :worker, [Exfuse.Server]}]

Return the supervisors running children. See Supervisor.which_children/1 for more details.