From owner-freebsd-questions Wed Nov 21 22:45:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from step.cg.tuwien.ac.at (step.cg.tuwien.ac.at [128.131.166.89]) by hub.freebsd.org (Postfix) with ESMTP id BD14F37B416 for ; Wed, 21 Nov 2001 22:45:37 -0800 (PST) Received: (from step@localhost) by step.cg.tuwien.ac.at (8.9.3/8.9.3) id HAA20831; Thu, 22 Nov 2001 07:45:00 +0100 Date: Thu, 22 Nov 2001 07:45:00 +0100 From: Stephan Mantler To: Incoming Mail List Cc: questions@FreeBSD.ORG Subject: Re: [fbsd-qns] copying over kernel Message-ID: <20011122074500.A20736@step.cg.tuwien.ac.at> Mail-Followup-To: Stephan Mantler , Incoming Mail List , questions@FreeBSD.ORG References: <200111211855.NAA07548@whoweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111211855.NAA07548@whoweb.com>; from mailist@whoweb.com on Wed, Nov 21, 2001 at 01:55:10PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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