From owner-freebsd-questions@FreeBSD.ORG Thu May 8 10:27:55 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 0788637B401 for ; Thu, 8 May 2003 10:27:55 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 011B943FAF for ; Thu, 8 May 2003 10:27:54 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h48HQKNY001371; Thu, 8 May 2003 12:26:20 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h48HQKrw001368; Thu, 8 May 2003 12:26:20 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Thu, 8 May 2003 12:26:20 -0500 (CDT) From: Eduardo Viruena Silva To: meimi In-Reply-To: Message-ID: <20030508122142.B1125@Gina.esfm.ipn.mx> References: <20030506090721.Q62023-100000@foem> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions Subject: Re: Newbies Question: High inactive memory and Quota in kernel 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: Thu, 08 May 2003 17:27:55 -0000 On Thu, 8 May 2003, meimi wrote: > Hello, [-----------------cut------------------------] just the second question. > > 2.Could anyone tell me how I know whether quota is enabled in kernel? In > handbook, they just tell me how to enable it, but they haven't told me how > to check. > include a line in your kernel description saying: options QUOTA compile your kernel and install it. Add: enable_quotas="YES" inetd_enable="YES" to your /etc/rc.conf and set /etc/fstab properly to use quotas: as an example, look at my system configuration : /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw,userquota 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 -- 2B | ~2B == ? Hamlet.