From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 22:14:29 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 83E0837B401 for ; Sun, 29 Jun 2003 22:14:29 -0700 (PDT) Received: from mail.econolodgetulsa.com (mail.econolodgetulsa.com [198.78.66.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB2C43F3F for ; Sun, 29 Jun 2003 22:14:29 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Received: from mail (mail [198.78.66.163])h5U5EQnW020581; Sun, 29 Jun 2003 22:14:26 -0700 (PDT) (envelope-from user@mail.econolodgetulsa.com) Date: Sun, 29 Jun 2003 22:14:26 -0700 (PDT) From: Josh Brooks To: "Sergey \"DoubleF\" Zaharchenko" In-Reply-To: <3EFFF7AD.1060308@tele-kom.ru> Message-ID: <20030629221236.V57224-100000@mail.econolodgetulsa.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Dan Nelson cc: questions@freebsd.org 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 05:14:29 -0000 Hi, On Mon, 30 Jun 2003, Sergey "DoubleF" Zaharchenko wrote: > Josh Brooks wrote: > > 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 you are going to make a directory N Mbytes large... > Make a file N Mbytes large, vnconfig it, disklabel it, newfs it and > mount to your directory. You should be solved then. Yes, I am familiar with this way of solving the problem, its just that I would like to try to avoid having all those partitions mounted (even if they are just vn-partitions) because then it is very hard to increase or decrease those quota sizes - you have to dump, dd a bigger file, re-vnconfig, then restore ... very time consuming.