lkml.org 
[lkml]   [1998]   [Jun]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromHorkan Smith <>
SubjectRe: [IDEA] Developers: your opinion badly needed ! (Was: [PATCH]
DateTue, 2 Jun 1998 11:41:23 -0400 (EDT)
> 
> 
> I want to voice my 2 cents...
> 
> Having a /proc/config is a good idea.
> 
> Having to match static files with a running kernel is a bad
> idea...no matter how careful you are, you may make mistakes (assuming
> you can find the file).
> 
> The solution for /boot/*-${VERSION} is not sufficient when
> multiple kernels exists for the same version...
> 
> When you need this information, you want ACCURATE infomation, not a guess
> (multiple files are a guess).
> 
> 
> -- 
> marty
> leisner@sdsp.mc.xerox.com  

How about a crc-32 of either the kernel or the System.map file stamped
into both?  Actually, a 32 bit random is probably good enough....
You could even put most of the work in user space - read a /proc/kernelid or
/proc/mapid that just reports the number, then user space (rc files?)
looks thru the (locally defined) list of possible locations, and writes
it to /proc/locations/System.map

Yah, it'll miss once in a *very* great while, but not often!  Besides,
this way they stay separate files that won't bloat loaded image or
disk/diskette size.  Of course, if you can't find those files, you're
in the same shape we are today....
I think the kernelid is a better choice, because you can stamp .config
files & other stuff the same way, w/ the same number.

later!
   horkan

-- 
G. Horkan Smith;  horkan@m4.com; 404-870-0001 x52
Media4, Inc; Atlanta; Atlanta, GA

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 12:42    [W:1.157 / U:0.110 seconds]
©2003-2008 Jasper Spaans