[ale] module version

Stephen Leonard stephen at phynp6.phy-astr.gsu.edu
Tue Dec 17 19:02:31 EST 2002


"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






More information about the Ale mailing list