*BSD News Article 96034


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news.apfel.de!univ-lyon1.fr!fdn.fr!r2d2.fdn.org!sphynx.fdn.fr!causse
From: causse@sphynx.fdn.fr (Philippe Causse)
Subject: Re: How do i install new kernel
X-Newsreader: TIN [version 1.2 PL2]
Organization: individual - paris - france
Message-ID: <EALpLq.1H1@sphynx.fdn.fr>
References: <338485FE.3D69@us.oracle.com>
Date: Thu, 22 May 1997 21:13:02 GMT
Lines: 28
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41452

Vinay Hegde (vhegde@us.oracle.com) wrote:
: Hi,
: 	I have setup a FreeBSD-2.2-Gamma machine. Now I would like to use the
: custom kernel instead of the Generic one. I cannot cp or overwrite the
: existing kernel like in other unix flavors; i get "operation not
: permitted" message. How do i do it?. I really appreciate your help.

In your /sys/compile/FOOBAR directory (where FOOBAR is the name of your
kernel), just type "make install".
This will change the flags on /kernel before moving it to /kernel.old
then copy kernel to /kernel and reprotect it.

FYI, 4.4BSDish systems have additional file attributes called "flags".
RTFM: chflags(1), ls(1).

Hint: the flag attributes are displayed with the -o option to ls -l.
Thus, ls -lo /kernel gives:

-r-xr-xr-x  1 root  wheel  schg 740019 Mar 29 09:41 /kernel
                           ~~~~
                             \____ This is the file flags.

: thanx
: --vh
-- 
-------------------------------------------------------------------
P. Causse			http://www.fdn.fr/~pcausse
4.4BSD/X11R6/Motif-2.0/C++	mailto:causse@sphynx.fdn.fr (UUCP)