lkml.org 
[lkml]   [2009]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how to extract 'uname -r' string from bzImage without booting it ?
At Thu, 26 Mar 2009 12:09:38 +0200, Victoria Muntean wrote:

> How can make (or find) a script or utility
> that can extract  'uname -r' string from bzImage without booting it ?

$ strings vmlinuz | grep -P -o \\d\\.\\d\\.\\d{2}
2.6.29

--
wbr, Vitaly
--
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/

\
 
 \ /
  Last update: 2009-03-26 11:21    [W:0.024 / U:22.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site