Q_QUOTAOFF(2const)

๐Ÿ“ฆ
version 6.20 ยท 2 versions
, in arch rolling, nixpkgs unstable

โœจ 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 ๐Ÿ‘‘


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
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms