This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
libquota-devel - broken incomplete package ?
- From: Pavel Fedin <p dot fedin at samsung dot com>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 02 Sep 2014 13:39:01 +0400
- Subject: libquota-devel - broken incomplete package ?
- Authentication-results: sourceware.org; auth=none
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 ?
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