man.bsd.lv manual page server

Manual Page Search Parameters

VQUOTACTL(2) System Calls Manual VQUOTACTL(2)

vquotactlset or return VFS quota data

library “libc”

#include <sys/vfs_quota.h>

int
vquotactl(const char *path, struct plistref *pref);

The () 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 () call, the vfs.quota_enabled tunable needs to be set in loader.conf(5).

The vquotactl() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

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

[]
VFS quota support has not been enabled at system startup
[]
The message embedded in the pref argument was not understood.

loader.conf(5), vquota(8)

The vquotactl() function call appeared in DragonFly 2.13.

Francois Tigeot

April 28, 2012 DragonFly-5.6.1