VFS_QUOTACTL(9)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… 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