VQUOTACTL(2)

NAME
vquotactl - set or return VFS quota data

LIBRARY
libc

SYNOPSIS
#include <sys/vfs_quota.h>
int
vquotactl(const char *path, struct plistref *pref);

DESCRIPTION
The vquotactl() call serves as the only kernel/userland VFS quota interface. proplib(3) messages specific to the path mount point are sent or returned via the pref parameter.

To use the vquotactl() call, the vfs.quota_enabled tunable needs to be set in loader.conf(5).

RETURN VALUES

ERRORS
A vquotactl() call may return the following error codes:

[EOPNOTSUPP]
    VFS quota support has not been enabled at system startup

[EINVAL]
    The message embedded in the pref argument was not understood.

SEE ALSO
loader.conf(5), vquota(8)

HISTORY
The vquotactl() function call appeared in DragonFly 2.13.

AUTHORS
Francois Tigeot