*BSD News Article 46658


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!xlink.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Howcum I get errors when compiling the kernel?
Date: 10 Jul 1995 09:42:51 +0200
Organization: Private U**x site, Dresden.
Lines: 20
Message-ID: <3tqllr$bns@bonnie.tcd-dresden.de>
References: <3tee7i$n16@mars.earthlink.net> <3teuvn$j7c@news.bu.edu> <3tgatc$2rv@news.simplex.nl>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Rob Simons <rob@Simplex.simplex.nl> wrote:
>Mikhail Teterin (mi@cs.bu.edu) wrote:
>: Just mv the old kernel to kernel.old and then mv the new kernel to /kernel...
>: That's what make install does, basicly, AFAIK. Do not forget to reboot...
>
>Might be a good idea to just *copy* the old kernel to kernel.old, since
>you'll be up shit creek when the machine crashes somewhere in between
>the move.

Nope.  The move is not across file system boundaries, so it's an
`atomic' operation.  One of both names will always remain in the
directory; the worst that could happen in case of a crash is that
you've got both names.  The operation itself is effectively the same
as ``ln kernel kernel.old; rm kernel, which you can also use if you're
paranoid.  It's less wasteful than copying.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)