1 |
maillog: 28/02/2004-09:22:09(+0900): Jason Stubbs types |
2 |
> Basically, I'm suggesting that config files that have never been changed be |
3 |
> removed as they will be restored upon reinstallation. Anything that has |
4 |
> changed shouldn't be removed and anything that was added since installation |
5 |
> won't be tracked anyway. |
6 |
|
7 |
Currently, when a new merge would overwrite a CONFIG_PROTECTed file, it creates |
8 |
a file named ._cfg????_originalfile if the file has been changed. |
9 |
|
10 |
What if something similar is made when unmerging packages? Unmerging a |
11 |
CONFIG_PROTECTed file that has not been changed removes the file right away. If |
12 |
it was changed, an empty ._cfg????_file is created, with some way to |
13 |
distinguish that it is supposed to express deletion (setting the sticky bit for |
14 |
example). etc-update can be used to delete the file later, after it is updated |
15 |
to recognize empty sticky files as a pointer to delete the original file. |
16 |
|
17 |
-- |
18 |
/\ Georgi Georgiev /\ Truly simple systems... require infinite /\ |
19 |
\/ chutz@×××.net \/ testing. -- Norman Augustine \/ |
20 |
/\ +81(90)6266-1163 /\ /\ |
21 |
|
22 |
-- |
23 |
gentoo-dev@g.o mailing list |