From owner-freebsd-doc Tue May 7 10:50:39 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C595037B40B for ; Tue, 7 May 2002 10:50:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g47Ho3317991; Tue, 7 May 2002 10:50:03 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (nwww.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 83E8F37B427 for ; Tue, 7 May 2002 10:44:50 -0700 (PDT) Received: from nwww.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g47HkKhG045588 for ; Tue, 7 May 2002 10:46:20 -0700 (PDT) (envelope-from nobody@nwww.freebsd.org) Received: (from nobody@localhost) by nwww.freebsd.org (8.12.2/8.12.2/Submit) id g47HkKNp045587; Tue, 7 May 2002 10:46:20 -0700 (PDT) Message-Id: <200205071746.g47HkKNp045587@nwww.freebsd.org> Date: Tue, 7 May 2002 10:46:20 -0700 (PDT) From: "Michael R. Wayne" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: docs/37839: Improve man page for quotactl(2) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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