[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] module version



"James P. Kinney III" <jkinney at localnetsolutions.com> writes:

> I have a kernel module foo.o that was compiled a while back. How can I
> tell what kernel it was compiled for without trying to load it (and
> wreak untold havoc)?

Check out modinfo(8).  The following should work:

modinfo -f%{kernel_version} somemodule.o

stephen
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale