next up previous contents index
Next: 7.3.5 unmount: Forcibly unmount Up: 7.3 oskit_filesystem: File System Previous: 7.3.3 getroot: Return a

7.3.4 remount: Update the mount flags of this filesystem

 

SYNOPSIS

#include <oskit/fs/filesystem.h>

oskit_error_t oskit_filesystem_remount(oskit_filesystem_t *f, oskit_u32_t flags);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

This method changes the mount flags associated with this filesystem. For example, this method might be used to change a filesystem from read-only to read-write, or vice versa.

PARAMETERS

f
The filesystem whose flags are to be changed.
flags
The new mount flags value.

RETURNS

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



University of Utah Flux Research Group