From owner-freebsd-questions Sun Mar 31 03:21:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA20731 for questions-outgoing; Sun, 31 Mar 1996 03:21:17 -0800 (PST) Received: from guarany.cpd.unb.br (guarany.cpd.unb.br [164.41.2.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA20718 for ; Sun, 31 Mar 1996 03:21:13 -0800 (PST) Received: from antares.linf.unb.br by guarany.cpd.unb.br (AIX 3.2/UCB 5.64/4.03) id AA55034; Sun, 31 Mar 1996 08:19:41 -0300 Received: from LTH.cr-df.rnp.br (ppp6.cr-df.rnp.br) by antares.linf.unb.br (4.1/SMI-4.1) id AA10032; Sun, 31 Mar 96 08:23:00 WST Message-Id: <315E6A99.163@linf.unb.br> Date: Sun, 31 Mar 1996 08:20:57 -0300 From: "Alex Carlos Braga Ant\co" X-Mailer: Mozilla 2.0 (Win95; I) Mime-Version: 1.0 To: Ozge Uncu Cc: Questions@freebsd.org Subject: Re: Quota References: <9603310915.AA60431@rorqual.cc.metu.edu.tr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Ozge Uncu wrote: > > Hi everybody, > > I have a problem. I can not assign quotas to users or groups. In man > pages in order to have limits in disk spaces, it is written that "the kernel > must be compiled in quota mode".But I do not know how to that. Also in man > pages it written that in order to set quotas in the roots of every > filesystem we must have "quota.user" and/or "quota.group"...Are they created > automatically when kernel is compiled in quota mode. > > If you can send me some examples about setting quotas to user and > groups to limit their disk spaces and entrance to some filesystems I would > be grateful. > > Thanks in advance!!! > OZGE UNCU > Industrial Engineering Department > Middle East Technical University > 06531 Ankara/TURKEY > e_mail:ozge@rorqual.cc.metu.edu.tr HI, I'd recomend you to read the section about the kernel on the HandBook of FreeBSD on Http://www.freebsd.rog It's explained there how to compile your kernel (i used it and didn't have problems ! :)). Also if there's no reference on it, on the KERNEL file, the line options QUOTA will make your kernel kork with quota. Also, you must habilitate it on /etc/sysconfig. I didn't manage how to configure the system to put the quotas on, but I'm working on it. Alex Carlos