Re: dqblk or mem_dqblk for quotas?

From: Jan Kara (jack@suse.cz)
Date: Tue Jul 24 2001 - 15:39:55 EST


  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/



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