[lkml]   [1997]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: A couple "normal user" questions..
> (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

Modifying the output of uname is no good idea as too many programs depend
on it. Aside it looks ugly and /proc is the better place for something
like that.

On the other side this appoach would help so solve several other issues.
Among them updating /etc/psdatabase and /etc/psdevtab such that they
fit the running kernel.

> I must admit, I haven't developed the program to reverse the operation :-)

Can you make a cow of a hamburger ?-)


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