lkml.org 
[lkml]   [1997]   [Feb]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Nick Holloway)
SubjectRe: A couple "normal user" questions..
Date2 Feb 1997 10:50:28 -0000
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
> I don't want 8K of my kernel wasted because I can't remember to save config
> files.

I have a discovered a way to store the configuration, which only requires
16 bytes (32 if stored in ascii).  This could be appended to the output of
'uname -v'

    $ sed -n 's/CONFIG_\(.*\)=y/\1/p' .config | md5sum
    6d1565d41a236978dfc1622d9e00fb3b
I must admit, I haven't developed the program to reverse the operation :-)

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk  http://www.alfie.demon.co.uk/
// ^ \\ | Nick.Holloway@parallax.co.uk  http://www.parallax.co.uk/~alfie/
\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008