#include <oskit/fs/filesystem.h>oskit_error_t oskit_filesystem_unmount(oskit_filesystem_t *f);
client OS filesystem library
This method forcibly unmounts this filesystem. Ordinarily, a filesystem is unmounted when the last reference to it is released; in contrast, this method forces an unmount regardless of external references to the filesystem, and is consequently unsafe. Subsequent attempts to use references to the filesystem or to use references to files within the filesystem may yield undefined results.
- f
- The filesystem to be forcibly unmounted.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.