DragonFly On-Line Manual Pages


VQUOTACTL(2)		 DragonFly System Calls Manual		  VQUOTACTL(2)

NAME

vquotactl -- set or return VFS quota data

LIBRARY

Standard C Library (libc, -lc)

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 inter- face. 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

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.

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 DragonFly 4.1 April 28, 2012 DragonFly 4.1