Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 07:45:00 +0100
From:      Stephan Mantler <step@acm.org>
To:        Incoming Mail List <mailist@whoweb.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: [fbsd-qns] copying over kernel
Message-ID:  <20011122074500.A20736@step.cg.tuwien.ac.at>
In-Reply-To: <200111211855.NAA07548@whoweb.com>; from mailist@whoweb.com on Wed, Nov 21, 2001 at 01:55:10PM -0500
References:  <200111211855.NAA07548@whoweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I want to replace /kernel with /kernel.orig.  Even as superuser, I
> cannot overwrite /kernel.

(this applies to other binaries as well): you don't replace the
original binary but move it out of the way. the next access will then
go to the right file:

# mv /kernel /kernel.old
# mv /kernel.orig /kernel
# reboot

hth, -step

-- 
stephan mantler: endurance sports maniac    reality is in fact virtual.
http://step.wastelander.org/                              step@acm.org
gnu pgp fingerprint: 0A25 EBE7 8AD3 A65D FEB5 C40E 88F9 DF4C 12CB C848

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?20011122074500.A20736>