Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2002 18:22:58 -0700
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        Mike Hogsett <hogsett@csl.sri.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: When the world doesn't match the kernel, what won't work?
Message-ID:  <3D5DA572.2A06A86E@pantherdragon.org>
References:  <200208170015.g7H0F1NL000871@axp.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Hogsett wrote:
> 
> Things like /usr/bin/top which read kernel variables is a good example of
> something that is going to break.

Shells and simple userland programs that only do stuff like read from
standard I/O, manipulate files, and run other simple userland programs
won't be effected?

> Rather than a new kernel and old world why not do
> 
>    cd /usr/src
>    make buildworld && \
>    make buildkernel KERNCONF=mykernelconf && \
>    make installworld && \
>    make installkernel KERNCONF=mykernelconf && \
>    reboot

Please read the make world section of the handbook, it's very unsafe
to do things this way.  You need to test the new kernel before do the
installworld.  If the kernel isn't working, you can fall back to the
old kernel and still have a perfectly good system.  If you don't test
the kernel, and it doesn't work you wind up with "a very sick" system.

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?3D5DA572.2A06A86E>