VFS_QUOTACTL(9)
π VFS_QUOTACTL(9) β manipulate file system quotas π
okay so this is the VFS_QUOTACTL(9) page from the Kernel Developer's Manual, and it's literally about manipulating file system quotas. slay. π
β¨ NAME β¨
VFS_QUOTACTL β manipulate file system quotas. periodt. π
πΈ SYNOPSIS πΈ
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/vnode.h>
int
VFS_QUOTACTL(struct mount *mp, int cmds, uid_t uid, void *arg,
bool *mp_busy);
π¦ DESCRIPTION π¦
okay so the whole point is: implement file system quotas. that's the vibe. β¨
The mp_busy argument is an input/output parameter. VFS_QUOTACTL() must be called with mp marked busy through vfs_busy(9) and *mp_busy set to true. like, no cap, that part is required. π«Ά
Then the filesystem implementation of VFS_QUOTACTL() may unbusy mp using vfs_unbusy(9) prior to performing quota file I/O. If it does that, the implementation must set *mp_busy to false to indicate that the caller must not unbusy mp upon completion of VFS_QUOTACTL(). literally important, bestie β don't skip that. π
See quotactl(2) for a description of the remaining arguments. π
π SEE ALSO π
π AUTHORS π
This manual page was written by Doug Rabson. π
mwah π this page is from Debian, dated May 29, 2021, and it's the VFS_QUOTACTL(9) manual β bye bestie π«Ά
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 1996 Doug Rabson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms