From owner-freebsd-hackers Fri Apr 12 14:27:55 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 C784C37B404 for ; Fri, 12 Apr 2002 14:27:50 -0700 (PDT) Received: (from wayne@localhost) by manor.msen.com (8.9.3/8.9.3) id RAA05273 for freebsd-hackers@FreeBSD.ORG; Fri, 12 Apr 2002 17:27:40 -0400 (EDT) (envelope-from wayne) Date: Fri, 12 Apr 2002 17:27:30 -0400 From: "Michael R. Wayne" To: freebsd-hackers@FreeBSD.ORG Subject: Re: quotactl issues [Solved] Message-ID: <20020412172730.Q56996@staff.msen.com> References: <20020411170324.K56996@staff.msen.com> <200204121315.g3CDFnv74028@web.cs.ndsu.nodak.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204121315.g3CDFnv74028@web.cs.ndsu.nodak.edu>; from tinguely@web.cs.ndsu.nodak.edu on Fri, Apr 12, 2002 at 08:15:49AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 12, 2002 at 08:15:49AM -0500, mark tinguely wrote: > > I tried to replicate the problem with DDB and QUOTA compiled into the kernel > but could not. Built a test system, ran a bunch of gdb sessions & found the problem. Despite having this: > grep quota /etc/rc.conf enable_quotas="YES" # turn on quotas on startup (or NO). check_quotas="YES" # Check quotas on startup (or NO). Somehow quotas were off on the filesystem in question. I would suggest the following change to the man page for quotactl: [EINVAL] Cmd or the command type is invalid. Q_GETQUOTA returns EINVAL if quotas are not currently enabled for this filesystem. /\/\ \/\/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message