On Tue, 28 May 2019 09:54:11 -0400, Rich Freeman wrote:

> I would personally do the switch during a kernel update, so that you
> can leave your old modules around and boot the old kernel.

The unmerge will only remove the "current" version of the module, so if
you have more than one kernel fully installed, the older ones will
be unaffected.

> I'm honestly not sure if portage will leave the old kernel module in
> place when doing the switch.  Looking at my kernel directory I see old
> spl modules so when re-emerging spl it isn't removing the old modules.


Look at the output from qlist, portage only lists the last installed
module, older ones aren't removed when you reinstall on a kernel upgrade.
However, this blocker requires you to uninstall spl, so the current
version will be removed. I still have the file after the upgrade, but it
is now owned by the zfs-kmod ebuild.

% qfile /lib/modules/4.19.44-gentoo/extra/spl/spl.ko
sys-fs/zfs-kmod (/lib/modules/4.19.44-gentoo/extra/spl/spl.ko)


-- 
Neil Bothwick

A printer consists of three main parts: the case, the jammed paper tray
and the blinking red light.

Attachment: pgpWKXEbE2auS.pgp
Description: OpenPGP digital signature

Reply via email to