From owner-freebsd-hackers Wed Aug 15 23:51:58 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id 6EE4937B412; Wed, 15 Aug 2001 23:51:43 -0700 (PDT) (envelope-from julian@elischer.org) Received: from elischer.org (InterJet.elischer.org [192.168.1.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id XAA15781; Wed, 15 Aug 2001 23:58:59 -0700 (PDT) Message-ID: <3B7B6C1B.64FCC23E@elischer.org> Date: Wed, 15 Aug 2001 23:45:47 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: "P. U. (Uli) Kruppa" Cc: vishwanath pargaonkar , freebsd-hackers@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: kernel copy References: <20010816081932.R672-100000@localhost.de> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "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