From owner-freebsd-questions Mon Jul 28 00:40:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA16065 for questions-outgoing; Mon, 28 Jul 1997 00:40:20 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA16060 for ; Mon, 28 Jul 1997 00:40:12 -0700 (PDT) Received: (from smap@localhost) by gatekeeper.barcode.co.il (8.8.5/8.6.12) id KAA29583; Mon, 28 Jul 1997 10:35:53 +0300 (IDT) X-Authentication-Warning: gatekeeper.barcode.co.il: smap set sender to using -f Received: from localhost.barcode.co.il(127.0.0.1) by gatekeeper.barcode.co.il via smap (V1.3) id sma029581; Mon Jul 28 10:35:38 1997 Message-ID: <33DC4B6C.37D4@barcode.co.il> Date: Mon, 28 Jul 1997 10:34:04 +0300 From: Nadav Eiron X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m) MIME-Version: 1.0 To: Igor Mkrtoumian CC: "'freebsd-questions@FreeBSD.org'" Subject: Re: kernel compilation and maillogs References: <01BC9B47.194A1500@ararat.aua.am> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Igor Mkrtoumian wrote: > > Can anybody tell me please > 1. how to compile a new kernel in FreeBSD 2.1.0 cd to your kernel config directory, and do (as root) /usr/sbin/config KERNELFILENAME Then, cd ../../compile/KERNELFILENAME and: make make install Also see the appropriate section in the handbook. BTW 2.1.0 is ancient. You may want to consider an upgrade. > 2. how to decrease the number of maillog. files in /var/log/ > 3. how to decrease the number of messages. files in /var/log/ In 2.1.x, these files are roteted by /etc/daily and /etc/weekly respectively. Edit these scripts to your desire. In 2.2.x, see man newsyslog.conf > > Igor Mkrtoumian > American University of Armenia Nadav