[ofa-general] getting path to backport directory (fwd)

Christoph Lameter cl at linux-foundation.org
Tue Sep 29 13:25:30 PDT 2009


On Tue, 29 Sep 2009, Robert D. Russell wrote:

> My question:  Is there somewhere in the system where I can
> find (or generate) the string "2.6.18-EL5.3"?

Rebuilt the kernel with another version string?

> I want to put that in my scripts so they will automatically
> pick it up whenever we change versions (as we just did when
> going to Centos -- it used to be 2.6.18-EL5.2 in the RedHat
> version we were running before).  At present I have to edit
> these scripts by hand, and that's a lousy way to do business.

Create a new "uname" script that outputs what you want?




More information about the general mailing list