1 |
On Friday 19 June 2009 00:08:04 Neil Bothwick wrote: |
2 |
> On Thu, 18 Jun 2009 22:45:50 +0100, Mick wrote: |
3 |
> > Why did they *have* to move it to /etc/modules.autoload.d/kernel-2.6. |
4 |
> |
5 |
> They didn't, they moved it from there to /etc/conf.d where all the other |
6 |
> rc config files live. |
7 |
> |
8 |
> > I am still confused with the difference between /etc/rc.conf |
9 |
> > and /etc/conf.d/rc ... |
10 |
> |
11 |
> Then moved that one out of /etc/conf.d :( |
12 |
|
13 |
Lets not confuse the fellow with our awesome wit :-) |
14 |
|
15 |
Mick, it's a cleanup operation with openrc to get things a bit more sane. |
16 |
|
17 |
Unix let's you put config files any damn place you want them. So it's up to |
18 |
you to put them someplace sane. The recent trend is to use a structure like |
19 |
|
20 |
/etc/thing.conf |
21 |
/etc/thing.d/* |
22 |
|
23 |
The first one is used for global settings that affect the entire package (or |
24 |
system in this case as it's openrc). |
25 |
The second has individual files, one for each logical sub-section. Package |
26 |
managers can then update individual bits independently - trying to do updates |
27 |
to one massive file with sed is a distinctly non-trivial operation. |
28 |
|
29 |
With baselayout-1, the layout was a bit haphazard. baselayout-2 and openrc |
30 |
took the opportunity to tidy all this up. |
31 |
|
32 |
-- |
33 |
alan dot mckinnon at gmail dot com |