From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 18:13:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB9E037B401 for ; Sun, 29 Jun 2003 18:13:35 -0700 (PDT) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12D6344001 for ; Sun, 29 Jun 2003 18:13:35 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (mail [198.78.66.163])h5U1DVnW070609; Sun, 29 Jun 2003 18:13:31 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Date: Sun, 29 Jun 2003 18:13:31 -0700 (PDT) From: Josh Brooks To: Lowell Gilbert In-Reply-To: <44wuf4z83e.fsf@be-well.ilk.org> Message-ID: <20030629180934.O57224-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org cc: Dan Nelson Subject: Re: question regarding quotas X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 01:13:36 -0000 Hello. On 29 Jun 2003, Lowell Gilbert wrote: > Dan Nelson writes: > > The only thing I can think of that might work: if you didn't mind a > > whole lot of filesystems, you could create a filesystem per directory > > you wanted to control. Then the filessytem size itself would be the > > "quota". > > I'm not following this suggestion. > > Quotas are per-user, *per-filesystem*, as you said the first time. So > it's not necessary to put each user's critical space on a different > filesystem. In fact, what quotas do is protect users from each other > on a given filesystem. What he is saying is, if I want to control the size of a directory, but there will be file creations in that directory from more than one user, I need to do something besides quotas, since quotas only count how much that user has created, NOT how much is in the directory total. So my question was, is there a way to control how big a directory can grow, regardless of who is putting what files in that directory. So far, his answer was that I could just make each directory its own filesystem, which would definitiely work, but I wondering if perhaps there is a more elegant way to do this ? Again, I am just trying to take an arbitrary directory, say: /export/data7/homes/jerry and place a configurable limit on how big that directory can get, without mounting it as its own filesystem... thanks.