dqblk or mem_dqblk for quotas?
Hello all -
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.
Thanks in advance for any help -
--
-Jeff Thompson (http://jeff.zaius.org)
[email protected]
Hello,
Quoted 8 lines
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 themem_dqblkstruct, 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 <[email protected]>
SuSE Labs