Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2002 10:46:20 -0700 (PDT)
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/37839: Improve man page for quotactl(2)
Message-ID:  <200205071746.g47HkKNp045587@nwww.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37839
>Category:       docs
>Synopsis:       Improve man page for quotactl(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 07 10:50:03 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Michael R. Wayne
>Release:        4.5-RELEASE-p4
>Organization:
Msen, Inc.
>Environment:
4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #6: Mon Apr 22 18:03:58 EDT 2002 
>Description:
The documentation for quotactl is not specific enough to avoid confusion.
This became clear when quotas inadvertently became disabled on a filesystem
and quotactl failed with EINVAL.  Several people on -hackers had speculations,
none were accurate.
The current man page states
   Cmd or the command type is invalid
But this does not accurately reflect the code.
>How-To-Repeat:
See above.
>Fix:
Apply the following 1 line patch:

*** /usr/src/lib/libc/sysquotactl.2.ORIG     Tue May  7 13:41:19 2002
--- /usr/src/lib/libc/sysquotactl.2  Tue May  7 13:41:39 2002
***************
*** 166,171 ****
--- 166,172 ----
  .It Bq Er EINVAL
  .Fa Cmd
  or the command type is invalid.
+ Q_GETQUOTA returns EINVAL if quotas are not currently enabled for this filesystem.
  .It Bq Er EACCES
  In
  .Dv Q_QUOTAON ,
>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205071746.g47HkKNp045587>