Re: Fwd: Re: modules.autoload

Kerin Millar <[email protected]> Wed, 16 Oct 2002 12:44:09 +0100
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
Guy wrote:
> Excellent and helpful reply. I'll try the noted items.
> 
> On step 4), I've been using 'etc-update' and either using the
> newer copy or interactively merging. Is 'find' inherently better
> or can I continue as I've been doing?
> 
> :)
> 
> 
> On Tuesday 15 October 2002 11:36 am, Kerin Millar wrote:
> 
>><snip>

Well, I try :-)
My favoured method is to use find to determine any newer 
baselayout/config files, then to use the diff command to see what the 
differences are. etc-update is supposed to automate the inclusion of 
customisations from the old to the new, but here's the problem: 
computers aren't human. etc-update has been known to trash people's 
customisations, although I am sure it gets more intelligent with each 
new incarnation. The thing is, for most users, 9 times out of 10 you 
don't really need to preserve anything from the old files anyway. Often 
it's just things like your USE flags from make.conf and the odd tweak 
here and there.

If the manual method sounds like too much hard work, then by all means 
continue to use the etc-update method. Just ensure you make regular 
backups of you /etc directory. There's a nice shell script in the 
"Documentation, Tips & Tricks" section of the Gentoo Forums which does 
just that (think the subject is "keep your /etc from getting toasted").

--kerframil