*BSD News Article 67189


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!agate!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.de!news.uni-stuttgart.de!news.ruhr-uni-bochum.de!news.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!tubsibr!malibu.ts.rz.tu-bs.de!not-for-mail
From: mb@malibu.ts.rz.tu-bs.de (Martin Butkus)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to change kernel, easy, but I am stupid
Date: 29 Apr 1996 14:19:18 +0200
Organization: TU Braunschweig, Germany
Lines: 18
Distribution: world
Message-ID: <4m2c46$kdv@malibu.ts.rz.tu-bs.de>
References: <31820ac8.3482557@news.seed.net.tw>
Reply-To: M.Butkus@tu-bs.de
NNTP-Posting-Host: rzrtr1.rz.tu-bs.de
X-Newsreader: TIN [version 1.2 PL2]
Originator: y0001415@ws.rz.tu-bs.de

Serge (Louis@oneway.com.tw) wrote:
: I have two kernel, of course, one is kernel and the other is kernel.old.
: Now I want to replace kernel with kernel.old. Somebody says `cflag'
: can do this, but stupid I am, don't know how to do, even reading man
: page. Could any teach me how to do this ?

: Thanx your follow up or e-mail.

As root do:

chflags -noschg /kernel
cp /kernel.old /kernel
chflags -schg /kernel

--
Martin Butkus					>>> Live long and prosper. <<<
Phone/Fax: +49.5331.298710
Am Stadtwege 10, 38304 Wolfenbuettel, Germany	M.Butkus@tu-bs.de