Re: dqblk or mem_dqblk for quotas?

Jan Kara (jack@suse.cz)
Tue, 24 Jul 2001 22:39:55 +0200


Hello,

> 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.

Honza

--
Jan Kara <jack@suse.cz>
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/