Hi!

I assume like me, there are a lot of people running several different 
kernels, sometimes booting this, sometimes that.

Now if one emerges a third-party modules, like the NVIDIA kernel 
driver, emerge moves the module to the /lib/modules/<version> dir of 
the current kernel, that is, the one the /usr/src/linux symlink points 
to.

Two things:

[1]

After that, in the automatic emerge clean, the module which was last 
installed gets removed.

IMO, this behaviour is undesireable, because next time you boot 
another kernel, the nvidia.o module will be missing, and you have to 
emerge again.
rinse.
repeat.

I have not checked, but I assume the same is true for other modules, 
like lm_sensors, v4l, emu10k1 etc.

So I think by default, emerge should not remove kernel models during 
(auto-)clean, only upon explicit unmerge. 


[2]

Wouldn't it be better if emerge scripts for kernel modules determined 
the kernel version to use from `uname -r` instead of the 
/usr/src/linux symlink? 

Should I file a bug for this? 
Comments on that?


greets,
        Peter

-- 
"The Empire never ended."
        Tractates: Cryptica Scriptura, no. 6

--
[EMAIL PROTECTED] mailing list

Reply via email to