Re: dqblk or mem_dqblk for quotas?

From: Jan Kara (
Date: Tue Jul 24 2001 - 15:39:55 EST


> Recently, I've been trying to write a utility to edit quotas
> (specifically on an ext2 filesystem), using the 2.4.x
> kernel. The man page for quotactl() on my system (RH 7.1)
> refer to the mem_dqblk struct, which is nowhere to be found
> in the source to the 2.4 kernels.
> Am I missing something, or should I just continue to use the
> dqblk struct.
  It depends on version of kernel. In RH 7.1 Alan's kernel is used
and in it is new quota format -> mem_dqblk must be used.
In standard Linus's kernel dqblk should be used.


Jan Kara <>
SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 21:00:18 EST