remount(2) - SerenityOS man pages

#Name

remount - remount a filesystem with new mount flags

#Synopsis

#include <LibCore/System.h>

ErrorOr<void> remount(StringView target, int flags);

#Description

remount() mounts a filesystem that is mounted at target with new mount flags of flags.

The following flags are supported:

These flags can be used as a security measure to limit the possible abuses of the mounted file system.

#Errors

All of the usual path resolution errors may also occur.

#See also