Re: How to identify contents of /lib/modules/*

Alan Cox (alan@lxorguk.ukuu.org.uk)
16 Apr 2003 15:21:38 +0100


On Mer, 2003-04-16 at 03:00, Stephen Cameron wrote:
> The task for the binary driver distributor becomes to figure out which
> of these multiple errata kernels found in /boot corresponds to the
> /lib/modules directory, so we can drop the binary driver that was
> made for that errata kernel in there, and not a driver made for the
> wrong kernel.

if its an rpm based distro

rpm -qf /lib/modules/[version]/something

will tell you which kernel owns the file.

Its a horrible thing to need to do however

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/