From doogie@forbidden-donut.anet-stl.com  Sun Aug 10 01:55:31 1997
Received: from forbidden-donut.anet-stl.com (forbidden-donut.anet-stl.com [206.114.203.17])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA11277
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Aug 1997 01:55:29 -0700 (PDT)
Received: (from doogie@localhost)
	by forbidden-donut.anet-stl.com (8.8.7/8.8.5) id DAA26899;
	Sun, 10 Aug 1997 03:52:45 GMT
Message-Id: <199708100352.DAA26899@forbidden-donut.anet-stl.com>
Date: Sun, 10 Aug 1997 03:52:45 GMT
From: doogie@anet-stl.com
Reply-To: doogie@anet-stl.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: quotactl manpage is misleading; correct bad references
X-Send-Pr-Version: 3.2

>Number:         4261
>Category:       docs
>Synopsis:       quotactl manpage is misleading; correct bad references
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    steve
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 10 02:00:08 PDT 1997
>Closed-Date:    Sat Aug 16 17:09:09 PDT 1997
>Last-Modified:  Sat Aug 16 17:10:05 PDT 1997
>Originator:     doogie@anet-stl.com
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
ANET St. Louis
>Environment:

     The quotactl() function call appeared in 4.3BSD-Reno.

>Description:

The quotactl manpage is misleading about what to supply for a second
argument. It lists several possible arguments but mentions only very
vaguely that these may need to be combined using the QCMD macro in
/usr/include/ufs/ufs/quota.h, with USRQUOTA or GRPQUOTA.

Also it references <ufs/quota.h> in a few places, when it should mention
<ufs/ufs/quota.h>. 

>How-To-Repeat:

Try to code something using quotactl based on the manpage. Ugh. 

>Fix:
	
Include something like this on the manpage: 

"The Q_GETQUOTA, Q_SETQUOTA and Q_SETUSE commands must be used in
conjunction with the QCMD macro and the definitions USRQUOTA and GRPQUOTA
(defined in <ufs/ufs/quota.h>) to specify operations involving user and
group quotas, respectively. See ufs/ufs/quota.h for details. 

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sat Aug 16 17:09:09 PDT 1997 
State-Changed-Why:  
Fixed in revision 1.8 of quotactl.2. 
>Unformatted:
