lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Building .config into the kernel
Date
> Barrett G. Lyon
> >True, but it's also much less useful. It assumes you can
> identify which
> >kernel image you booted, etc.
>
> Can't you do something like:
> cat vmlinux | grep "version" | head -1 ; uname -a
>
> and match the build numbers? Just use gzcat on machines that use a
> compressed kernel such as the Alpha.

No. Who says you are using vmlinux and not bzImage. What if you booted off
a floppy and don't have it anymore? What happens if you build several
kernels with the same version but different config options and don't
remember which one you loaded at the lilo prompt (assuming you're using
lilo)? Even if they were still around, you couldn't tell which one was
booted (the version number would be the same).


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.038 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site