Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Scott Stoddard <scott@...>
Subject: Re: Update config files
Date: Mon, 09 Jan 2006 17:00:53 -0500
Mark Haney wrote:
> Nuitari wrote:
> 
>>>
>>> What's the best way to update config files?  I am a big fan of RH's 
>>> method of dealing with them, and can't stand the way Debian does it, 
>>> so how do the majority of Gentoo users manage their config files?
>>>
>>
>> with etc-update
>>
> I know that, but is there a 'bet practices' to use with 'etc-update'?
> 
> 

Well, honestly I think people make too big a deal of the 'complexity' of 
doing their etc-updating.

Some general ideas:

It's assumed that you have built your own gentoo system from the 
instructions in the handbook.  That being the case, you should be 
familiar with the config files you've changed (everyone seems to believe 
it's a lot of files, but it's really not that many)

First, using colordiff helps, but really I find that just stretching out 
your terminal to the full width of the screen helps most (just to avoid 
as much line-wrap as possible).

*** So, when I do an etc-update, I look at the list of all the files 
needing to be updated.  I note the numbers of only the ones that I have 
made changes to - either in the initial setup of my box, or since then.

Then I look specifically at them and usually just q right out of the 
'less' environment and do an interactive merge (the additional time this 
takes over just 'taking the new modifications' for changes unrelated to 
my own is negligible).  Take the (l)eft side for stuff that I still want 
to keep as my settings and the (r)ight side for the new changes.  (I 
find that I almost never have to actually edit a line during this 
process...it's usually just one or the other)

After I repeat this process for those files I noted in ***, which 
honestly is usually no more that 5 or 10, I just automerge the rest with 
a -5.

The whole process usually takes 2-3 minutes.

Scott.
-- 
gentoo-amd64@g.o mailing list


References:
Update config files
-- Mark Haney
Re: Update config files
-- Nuitari
Re: Update config files
-- Mark Haney
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Update config files
Next by thread:
Re: Update config files
Previous by date:
Re: Update config files
Next by date:
Re: Weird net routing


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.