Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 12:43:18 +0100
From:      Jens Rehsack <rehsack@liwing.de>
To:        dslb@tiscali.dk
Cc:        questions@freebsd.org
Subject:   Re: Building kernels
Message-ID:  <3DE4AFD6.7060302@liwing.de>
References:  <3D9FE7F600007410@cpfe5.be.tisc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
dslb@tiscali.dk wrote:
> Hi all
> 
> I was reading about building kernels and found that there are two ways (maybe
> more?):
> 1. The old way!?! where you
>         cd /sys/i386/conf
>         config KERNEL
>         cd ../../compile/KERNEL
>         make depend
>         make
> Now the kernel is in that dir.
 >
> 2. The new way!?!
>         cd /usr/src
>         make buildkernel KERNCONF=KERNEL
> Now the kernel is in /usr/obj/usr/src/sys/KERNEL
> 
> Why is the kernel being build in different places?

Because all compiled output is in /usr/obj then. You can protect /usr to 
disallow any changes and mount (or use different flags) /usr/obj 
seperately. This allows you to build in multiuser mode and only the 
install must be done in single user mode.

> Which way will be the way "of the future"?

The new way :-)

> Why the difference?
 > do you have the same options no matter which one you use?

The kernel configuration keeps the same. What other options do you mean?

Bye,
Jens
-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                   gggg    06112 Halle
                                      g
                                  g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DE4AFD6.7060302>