[EMAIL PROTECTED] 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: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to