Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2001 23:45:47 -0700
From:      Julian Elischer <julian@elischer.org>
To:        "P. U. (Uli) Kruppa" <root@pukruppa.de>
Cc:        vishwanath pargaonkar <vishubp@yahoo.com>, freebsd-hackers@FreeBSD.ORG, questions@FreeBSD.ORG
Subject:   Re: kernel copy
Message-ID:  <3B7B6C1B.64FCC23E@elischer.org>
References:  <20010816081932.R672-100000@localhost.de>

next in thread | previous in thread | raw e-mail | index | archive | help
"P. U. (Uli) Kruppa" wrote:
> 
> On Thu, 16 Aug 2001, vishwanath pargaonkar wrote:
> 
> > pls tell how shd i copy a kernel ie.. kernel.new to
> > kernel using cp.
> > when i try to do this it says operation not permitted.
> > its not allowing for changing permissions too.
> > how to do this?
> try
> # cat kernel.new > kernel
> But do have a look at the permissions afterwards.
> 
> Uli
> *--------------------------------------*
> |  www.pukruppa.de       www.2000d.de  |
> |          Wuppertal - Germany         |
> *--------------------------------------*
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message


cd /sys/compile/MYKERNEL
make install

or by hand:

chflags noschg /kernel
cp /sys/compile/MYKERNEL/kernel /kernel
chflags schg /kernel


-- 
+------------------------------------+       ______ _  __
|   __--_|\  Julian Elischer         |       \     U \/ / hard at work in 
|  /       \ julian@elischer.org     +------>x   USA    \ a very strange
| (   OZ    )                                \___   ___ | country !
+- X_.---._/    presently in San Francisco       \_/   \\
          v

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B7B6C1B.64FCC23E>