From owner-freebsd-hackers Tue Sep 23 05:25:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA07869 for hackers-outgoing; Tue, 23 Sep 1997 05:25:31 -0700 (PDT) Received: from spoon.beta.com (root@spoon.beta.com [199.165.180.33] (may be forged)) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA07862 for ; Tue, 23 Sep 1997 05:25:25 -0700 (PDT) Received: from spoon.beta.com (mcgovern@localhost [127.0.0.1]) by spoon.beta.com (8.8.5/8.8.5) with ESMTP id IAA14497; Tue, 23 Sep 1997 08:12:12 -0400 (EDT) Message-Id: <199709231212.IAA14497@spoon.beta.com> To: jacques@wired.ctech.ac.za cc: hackers@freebsd.org Subject: RE: Quota Date: Tue, 23 Sep 1997 08:12:11 -0400 From: "Brian J. McGovern" Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk First, make sure you have quotas on the system that you want. Its a kernel config option. Next, kick all the users off the system. I've had problems with writes to supposedly quota'ed disks during this point, and haven't pinned them down yet. I've blown away a couple of drives at this step. Add the userquota flag to the /etc/fstab file, and create the quota.user file in the root of the parition where you want quotas. Run quotacheck. Then, reboot. Run edquota on one of the users, and set "defaults". Then, use can use -p with edquota to use them as the default. For instance, if I set up user foo's quotas, I can say: edquota -p foo bar and it will pull up bar's quota list, using foo's defaults. -Brian