From owner-freebsd-questions Fri Sep 4 17:02:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00916 for freebsd-questions-outgoing; Fri, 4 Sep 1998 17:02:16 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Cartman.LAN.dom (ubppp-248-011.ppp-net.buffalo.edu [128.205.248.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA00894 for ; Fri, 4 Sep 1998 17:02:08 -0700 (PDT) (envelope-from cjm2@earthling.net) Received: from earthling.net (cjm2@Beowulf.LAN.dom [10.0.0.2]) by Cartman.LAN.dom (8.8.8/8.8.8) with ESMTP id UAA00363; Fri, 4 Sep 1998 20:01:00 -0400 (EDT) (envelope-from cjm2@earthling.net) Message-ID: <35F07F3A.C27EB279@earthling.net> Date: Fri, 04 Sep 1998 20:00:58 -0400 From: "Christopher J. Michaels" Organization: Weeble Cow Consortium X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: Lanny Baron CC: questions@FreeBSD.ORG Subject: Re: setting quotas on filesystem References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Lanny Baron wrote: > Hello, > > I have read the man page on edquota. I just need to understand one > thing. It speaks of editting soft and hard limits. If for example i want > the default in the group user to be 10 megs. How would I translate that to > blocks? 1 block =1024 bytes? Which means setting the hard limit to 9765 > and then the soft limit for 15 megs would be 14,648 ? > ACK! I didn't notice this at first. Do you realize that you are setting a 10mb quota for all of user? That means that the total of ALL the files owned by group user cannot come to more than 10mb! If I understand your question correctly, you want to enforce this quota upon each individual user in group user... right? If that's so, I don't know of a way to do it. But there is something else you can use. Setup 1 user with the quota's you want and then use: edquota -p username UID_range. E.g. say all of your "users" have UIDs between 2000 and 4999, and your "prototype" user is is "bob". You could type this... edquota -p bob 2000-4999 Now all users (current and future) with a UID in that range, will have the same quota as "bob". Maybe this will answer your question a little better. > Quotas for group user: > /home: blocks in use: 450549, limits (soft = 0, hard = 0) > inodes in use: 1079, limits (soft = 0, hard = 0) > > If i understand this right, the current quota is 0 nothing. > > Thank you for your help /* THIS SPACE FOR RENT cjm2@earthling.net */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message