From owner-freebsd-current Fri Jan 2 03:39:14 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA27179 for current-outgoing; Fri, 2 Jan 1998 03:39:14 -0800 (PST) (envelope-from owner-freebsd-current) Received: from goliath.camtech.com.au (goliath.camtech.net.au [203.5.73.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA27166 for ; Fri, 2 Jan 1998 03:39:06 -0800 (PST) (envelope-from thyerm@camtech.net.au) Received: from matte.camtech.net.au (dialup-ad-7-08.camtech.net.au [203.28.1.8]) by goliath.camtech.com.au (8.8.5/8.8.2) with ESMTP id WAA25994; Fri, 2 Jan 1998 22:07:13 +1030 (CST) Received: from camtech.net.au (localhost [127.0.0.1]) by matte.camtech.net.au (8.8.8/8.7.3) with ESMTP id WAA00561; Fri, 2 Jan 1998 22:08:56 +1030 (CST) Message-ID: <34ACD1CE.67EBCC99@camtech.net.au> Date: Fri, 02 Jan 1998 22:08:54 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: James Raynard CC: freebsd-current@freebsd.org Subject: Re: /etc/rc changes References: <199712312330.KAA30044@godzilla.zeta.org.au> <34AB9089.762DE69D@camtech.net.au> <19980101171513.08980@jraynard.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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