Scroll to navigation

dqinfo(2type) dqinfo(2type)

NAME

dqinfo - disk quota information

LIBRARY

Standard C library (libc)

SYNOPSIS

#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

.dqi_bgrace
Time before block soft limit becomes hard limit.
.dqi_igrace
Time before inode soft limit becomes hard limit.
.dqi_flags
Flags for quotafile (DQF_*).
.dqi_valid
Bit mask of IIF_* constants. It is set to indicate which fields in the dqinfo structure are valid.

DQF_*

Root squash enabled.
Quota stored in a system file.

STANDARDS

Linux.

HISTORY

Linux 2.4.22.

Before Linux 4.0, DQF_ROOT_SQUASH had been defined privately as V1_DQF_RSQUASH.

SEE ALSO

Q_GETINFO(2const), Q_SETINFO(2const)

2026-06-05 Linux man-pages 6.19