Q_QUOTAOFF(2const)
โจ Q_QUOTAOFF ๐ธ
okay so this one's a 2const page bestie, meaning it's not a whole function, it's a constant โ one lil' operation you can hand to the quota syscalls. it's giving "small but mighty" ๐
๐ธ NAME ๐ธ
Q_QUOTAOFF โ bestie, it turns off the quotas for a filesystem. that's it. that's the vibe. no cap. ๐ซ๐งพ
๐ซถ LIBRARY ๐ซถ
Standard C library โ aka libc, aka -lc. the OGs. ๐
โจ SYNOPSIS โจ
like this, bestie:
#include <sys/quota.h>
int quotactl(QCMD(Q_QUOTAOFF, type), const char *_Nullable special,
0, NULL);
and if you're going through the raw syscall door instead:
#include <sys/quota.h> /* Definition of Q_* constants */
#include <sys/syscall.h> /* Definition of SYS_* constants */
#include <unistd.h>
int syscall(SYS_quotactl_fd, int fd, QCMD(Q_QUOTAOFF, type));
see how it's slotted into QCMD(...) with a type? that's the whole thing, she's wrapped up in the command macro. iykyk ๐
๐ DESCRIPTION ๐
Turn off quotas for a filesystem. that's the whole personality. quotas? off. done. iconic. ๐โจ
โ ๏ธ the fine print tho: this operation requires privilege โ specifically CAP_SYS_ADMIN. so if you're just some random user, the kernel is gonna look at you like ๐ and say no. main character privileges only, sorry bestie. ๐
๐ RETURN VALUE ๐
lowkey the same as quotactl(2). go read that one, she's got the receipts. ๐
๐ญ ERRORS ๐ญ
also the same as quotactl(2). same energy, same errors, fr fr. โจ
โญ STANDARDS โญ
Linux. just Linux. that's the whole standard. ๐ฑ๐ฎ๐ณ๐บ๐ฝ๐
๐ฆ HISTORY ๐ฆ
Linux. yes, again. she's been Linux the whole time. periodt. ๐
๐ SEE ALSO ๐
quotactl(2)โ the main character of this whole familyquotactl_fd(2)โ same energy, but with a file descriptor ๐Q_QUOTAON(2const)โ the flip side, turning quotas back ON ๐ฅ
okay that's the whole page, you ate that, go forth and un-quota responsibly ๐ซถโจ๐
this cutie was brought to you by Linux man-pages 6.20, dated 2026-06-05 โ mwah, bye bestie! ๐๐
๐ฆ where this page comes from
- arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
- nixpkgs unstable: man-pages 6.20
- ๐ the page's license: Linux-man-pages-copyleft
- Copyright 1996, Andries E. Brouwer <aeb@cwi.nl>
- Copyright 2010, Jan Kara <jack@suse.cz>
- Copyright 2010, Michael Kerrisk <mtk.manpages@gmail.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms