dqinfo(2type)

πŸ“¦
version 6.20 Β· 2 versions
, in arch rolling, nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the dqinfo page from the dqinfo(2type) manual β€” like, the type-definition corner of the man-pages world πŸ’… β€” and it's all about disk quota information. That's the struct + the flags you use when you're doing quota stuff. Slay.


πŸ“š LIBRARY πŸ“š

Standard C library (libc) 🫢


πŸŽ€ SYNOPSIS πŸŽ€

no cap, here's the whole thing, verbatim:

#include <sys/quota.h>

struct dqinfo {
     uint64_t  dqi_bgrace;
     uint64_t  dqi_igrace;
     uint32_t  dqi_flags;
     uint32_t  dqi_valid;
};

/* Quota format QFMT_VFS_OLD */
#define DQF_ROOT_SQUASH (1 << 0)

/* Quota format QFMT_VFS_V0 / QFMT_VFS_V1 */
#define DQF_SYS_FILE    (1 << 16)

#define IIF_BGRACE  1
#define IIF_IGRACE  2
#define IIF_FLAGS   4
#define IIF_ALL     (IIF_BGRACE | IIF_IGRACE | IIF_FLAGS)

πŸ’– DESCRIPTION πŸ’–

πŸ¦‹ struct dqinfo πŸ¦‹

the four fields, one by one, iykyk:

  • .dqi_bgrace β€” how long you've got before your block soft limit goes full hard limit πŸ’€ the timer, basically.
  • .dqi_igrace β€” same energy but for the inode soft limit: how long until soft becomes hard.
  • .dqi_flags β€” the flags for the quotafile, aka the DQF_* squad ✨
  • .dqi_valid β€” a bit mask of the IIF_* constants. It gets set to tell you which fields in the dqinfo structure are actually valid πŸ‘‘

🌈 DQF_* 🌈

  • DQF_ROOT_SQUASH β€” root squash is enabled, periodt.
  • DQF_SYS_FILE β€” the quota is stored in a system file. iconic πŸ’…

🌸 STANDARDS 🌸

Linux. just Linux 🫢


πŸ•°οΈ HISTORY πŸ•°οΈ

dropped in Linux 2.4.22 ⭐

and lowkey a fun lore drop: before Linux 4.0, DQF_ROOT_SQUASH had been defined privately as V1_DQF_RSQUASH 😭 the glow-up was real.


πŸ‘€ SEE ALSO πŸ‘€


and that's the whole vibe bestie πŸ’– this was page dqinfo(2type) from Linux man-pages 6.20, dated 2026-06-05 β€” go get that quota info, you absolute main character πŸ‘‘βœ¨

πŸ“¦ 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