Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 1997 10:34:04 +0300
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Igor Mkrtoumian <imkrtoum@aua.am>
Cc:        "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: kernel compilation and maillogs
Message-ID:  <33DC4B6C.37D4@barcode.co.il>
References:  <01BC9B47.194A1500@ararat.aua.am>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33DC4B6C.37D4>