#include <oskit/c/fs.h>oskit_error_t fs_mount(const char *path, oskit_file_t *subtree);
oskit_error_t fs_unmount(const char *path);
BSD-like mount and unmount functions which the client can use to build its file system namespace out of multiple file systems.Note that the underlying oskit_dir COM interface doesn't support mount points, so crossing mount points while traversing the file system space is implemented in the C library function doing the lookup (fs_lookup).
- path
- A valid pathname in the current file system space where the file system should be added or removed.
- subtree
- The root of the file system to be added. A reference to subtree is acquired.
Returns zero on success, or an appropriate error code.