Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 13:11:45 +0100
From:      Paul Richards <paul@freebsd-services.com>
To:        Tom Beer <mailings@analogon.com>, questions@FreeBSD.org
Subject:   Re: Mangled /usr/src
Message-ID:  <226310000.998655105@lobster.originative.co.uk>
In-Reply-To: <001a01c12c8f$d2df9ca0$0901a8c0@system>
References:   <001a01c12c8f$d2df9ca0$0901a8c0@system>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Friday, August 24, 2001 13:27:34 +0200 Tom Beer
<mailings@analogon.com> wrote:

> Hi,
> 
> my /usr/src directory is mangled,
> so I'm unable  to install i4b.
> How can I safely update my
> /usr/src without lost of Kernels?

Move your kernel configuration files out of /sys/i386/conf to somewhere
else e.g. /home/kernels

Delete /usr/src and reinstall it.

Leave your kernel config files in /home/kernels and create a symlink from
/sys/i386/conf instead e.g.

cd /sys/i386/conf
ln -s /home/kernels/MYCONFIG .

It's much better to keep your kernel config files out of /usr/src because
it's quite easy to forget about them and blow away /usr/src and lose them.

Paul Richards
FreeBSD Services Ltd

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?226310000.998655105>