mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vitaly Mayatskikh <v.mayatskih@gmail.com>
To: Victoria Muntean <vikimun@gmail.com>
Cc: Kernel Linux <linux-kernel@vger.kernel.org>
Subject: Re: how to extract 'uname -r' string from bzImage without booting it ?
Date: Thu, 26 Mar 2009 11:17:32 +0100	[thread overview]
Message-ID: <874oxgmvur.wl%vmayatsk@redhat.com> (raw)
In-Reply-To: <ab4346860903260309y4c7ce885t69e074718354de84@mail.gmail.com>

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

      reply	other threads:[~2009-03-26 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ab4346860903260308t76edb9b7n165c58b0cb654948@mail.gmail.com>
2009-03-26 10:09 ` Victoria Muntean
2009-03-26 10:17   ` Vitaly Mayatskikh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874oxgmvur.wl%vmayatsk@redhat.com \
    --to=v.mayatskih@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vikimun@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®