This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libquota-devel - broken incomplete package ?


On 02/09/2014 11:39, Pavel Fedin wrote:
  Hello!

  I am trying to build NFS-Ganesha, and it includes rquota protocol support,
which relies on USRQUOTA and GRPQUOTA definitions.
  After some searching i have found libquota-devel package which should
apparently be responsible for these. However, inside its only include file i
read the following comments:
--- cut ---
  * The typical way to use the quota library is as follows:
  * {
  *	quota_ctx_t qctx;
  *
  *	quota_init_context(&qctx, fs, -1);
  *	{
  *		quota_compute_usage(qctx, -1);
  *		AND/OR
  *		quota_data_add/quota_data_sub/quota_data_inodes();
  *	}
  *	quota_write_inode(qctx, USRQUOTA);
  *	quota_write_inode(qctx, GRPQUOTA);
  *	quota_release_context(&qctx);
  * }
--- cut ---

  quota_write_inode() declaration is present, however USRQUOTA and GRPQUOTA
are entirely missing. Even more suspicious thing is include files:
--- cut ---
#include "ext2fs/ext2_fs.h"
#include "ext2fs/ext2fs.h"
#include "quotaio.h"
#include "../e2fsck/dict.h"
--- cut ---
  quotaio.h is completely missing in /usr/include. What's wrong ? Is the
package utterly broken ?

maybe as it reported only in the debug source
https://cygwin.com/cgi-bin2/package-cat.cgi?file=x86_64%2Fe2fsprogs-debuginfo%2Fe2fsprogs-debuginfo-1.42.7-1&grep=quotaio.h



  BTW, just for interest, does Cygwin actually support quotas ? NT OS should
actually support them i guess...

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]