next up previous contents index
Next: 7.3.6 lookupi: Lookup a Up: 7.3 oskit_filesystem: File System Previous: 7.3.4 remount: Update the

7.3.5 unmount: Forcibly unmount this filesystem

 

SYNOPSIS

#include <oskit/fs/filesystem.h>

oskit_error_t oskit_filesystem_unmount(oskit_filesystem_t *f);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

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.

PARAMETERS

f
The filesystem to be forcibly unmounted.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group