From owner-freebsd-hackers  Wed Apr 10 10:33:25 2002
Delivered-To: freebsd-hackers@freebsd.org
Received: from manor.msen.com (manor.msen.com [148.59.4.66])
	by hub.freebsd.org (Postfix) with ESMTP id 22FD037B416
	for <freebsd-hackers@FreeBSD.ORG>; Wed, 10 Apr 2002 10:33:23 -0700 (PDT)
Received: from manor.msen.com (wayne@localhost [127.0.0.1])
	by manor.msen.com (8.9.3/8.9.3) with ESMTP id NAA65972
	for <freebsd-hackers@FreeBSD.ORG>; Wed, 10 Apr 2002 13:33:21 -0400 (EDT)
	(envelope-from wayne@manor.msen.com)
Message-Id: <200204101733.NAA65972@manor.msen.com>
To: freebsd-hackers@FreeBSD.ORG
Subject: quotactl issues
Date: Wed, 10 Apr 2002 13:33:21 -0400
From: "Michael R. Wayne" <wayne@staff.msen.com>
Sender: owner-freebsd-hackers@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-hackers.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-hackers>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-hackers>
X-Loop: FreeBSD.ORG


Ported some code that uses quotactl to 4.3 p19 and it fails with EINVAL
when trying to:
   quotactl("var/mail", QCMD(Q_GETQUOTA, USRQUOTA), VALID_UID, &blk)
Looked at the source for edquota on 4.5 RELEASE (what I had handy),
and ran a copy of it through gdb, it fails with the same error,
then it goes in and reads/writes the quota files directly!

So, is quotactl just not supported or do the filesystems need to
be converted or what?

/\/\ \/\/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message