linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dqblk or mem_dqblk for quotas?
@ 2001-07-24 15:45 kernel-list
  2001-07-24 20:39 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: kernel-list @ 2001-07-24 15:45 UTC (permalink / raw)
  To: linux-kernel

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)
jeff@zaius.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dqblk or mem_dqblk for quotas?
  2001-07-24 15:45 dqblk or mem_dqblk for quotas? kernel-list
@ 2001-07-24 20:39 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2001-07-24 20:39 UTC (permalink / raw)
  To: kernel-list; +Cc: linux-kernel

  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-24 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-24 15:45 dqblk or mem_dqblk for quotas? kernel-list
2001-07-24 20:39 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).