Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 1998 22:08:54 +1030
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        James Raynard <fcurrent@jraynard.demon.co.uk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: /etc/rc changes
Message-ID:  <34ACD1CE.67EBCC99@camtech.net.au>
References:  <199712312330.KAA30044@godzilla.zeta.org.au> <34AB9089.762DE69D@camtech.net.au> <19980101171513.08980@jraynard.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
I now know why my linux lkm has not been loaded.

It's because I've been upgrading my /etc files by copying files in
/usr/src/etc into etc maintaining the hierarchy I've found in the
source directory.  I now know I should have looked more closely at
the Makefile to see that the /usr/src/etc/etc.i386 files are actually
stored in /etc instead of /etc/etc.i386.

It turns out that I have an old copy of /etc/rc.i386 which had the
old rc.conf variable name for the linux module i.e. "linux" instead
of "linux_enable".  It all works fine when I copy things to their
correct home.

As for my script "etcud" that I sent in via send-pr, I use it all the
time and hence the linux trouble!

I will change the script to reflect the real locations of selected
files but really the script should be incorporated as a target in
the Makefile somehow so that it will always be up to date.

James Raynard wrote:
> 
> On Thu, Jan 01, 1998 at 11:18:09PM +1030, Matthew Thyer wrote:
> > That was me who complained.
> 
> And me who fell over the problem of not keeping /etc up to date :-)
> (I must get around to looking at that script you posted - has
> anyone else tried this out?)
> 
> > Should one just run "make distribution" from /usr/src/etc ?
> 
> I think that's just meant for building releases.
> 
> One possibility would be adding a -b option to install that backed
> up the old file before copying the new one over - I think the
> installation program with INN does this (don't have the source
> around to check) and then write an install target that uses it,
> based on the distribution target.
> 
> eg install -b .old foo /etc
> 
> would be equivalent to
> 
> mv /etc/foo /etc/foo.old
> cp foo /etc
> chmod /etc/foo
> ...
> 
> --
> In theory, theory is better than practice.  In practice, it isn't.
> James Raynard, Edinburgh, Scotland.   http://www.freebsd.org/~jraynard/

-- 
/=====================================================================\
|Work: Matthew.Thyer@dsto.defence.gov.au | Home: thyerm@camtech.net.au|
\=====================================================================/
"If it is true that our Universe has a zero net value for all conserved
quantities, then it may simply be a fluctuation of the vacuum of some
larger space in which our Universe is imbedded. In answer to the
question of why it happened, I offer the modest proposal that our
Universe is simply one of those things which happen from time to time."
 E. P. Tryon   from "Nature" Vol.246 Dec.14, 1973



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34ACD1CE.67EBCC99>