View previous topic :: View next topic |
Author |
Message |
guest Guest
|
Posted: Wed Jun 05, 2002 8:58 pm Post subject: Merging new /etc files |
|
|
Hello,
After doing an emerge --update system, I was informed I had 31 files in /etc to merge.
Whats a good way to find these files?
I thought they all had some common prefix or suffix which would identify them but I could not find any.
Thanks
Chuck |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Wed Jun 05, 2002 9:12 pm Post subject: Re: Merging new /etc files |
|
|
guest wrote: | After doing an emerge --update system, I was informed I had 31 files in /etc to merge. |
Then you were also informed how to learn to update config files, no? You probably saw a screen like:
Quote: | * Regenerating GNU info directory index...
* Processed 55 info files.
* IMPORTANT: 11 config files in /etc need updating.
* Type emerge --help config to learn how to update config files.
|
guest wrote: | Whats a good way to find these files? |
Aside from the fact that 'emerge --help config' will tell you exactly what you want to know, this has also been covered roughly 4 billion times in the archives. Please search next time before posting.
That said, the files will start with ._cfg in etc, so the following command will show you all the files you need to update:
Code: | ls -al /etc |grep ._cfg |
From there, either emerge gentoolkit and use etc-update (which I personally think is a bad idea, but others swear by it) or manually diff the files (man diff for more information) to see what has changed and then make an informed decision about which file should be used.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
craftyc Guru
Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Wed Jun 05, 2002 9:18 pm Post subject: Re: Merging new /etc files |
|
|
klieber wrote: |
From there, either emerge gentoolkit and use etc-update (which I personally think is a bad idea, but others swear by it) or manually diff the files (man diff for more information) to see what has changed and then make an informed decision about which file should be used.
--kurt |
This is obviously the best way to do things. It is a bit slow at first, but when you get used to it you will just zoom through the task. _________________ Postcount ++ |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|