NAME
vquotactl
—
set or return VFS quota data
LIBRARY
library “libc”
SYNOPSIS
#include
<sys/vfs_quota.h>
int
vquotactl
(const
char *path, struct
plistref *pref);
DESCRIPTION
Thevquotactl
()
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
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
HISTORY
The vquotactl
() function call appeared in
DragonFly 2.13.
AUTHORS
Francois Tigeot