Subject: Re: Silly uname -v question
To: B. James Phillippe <>
From: Andrew Brown <>
List: tech-kern
Date: 02/14/2002 14:28:32
>> 	const char version[] =     "NetBSD 1.5ZA (GENERIC) #0: Thu Feb 14 13:44:08 EST 2002\n    andrew@this:/usr/src/sys/arch/i386/compile/GENERIC\n";
>> 	#
>Ah, and this is being generated by conf/  It doesn't appear that
>I can override this string without changing the generated C file
>(overwritten everytime I build a new kernel) or changing the shell script
>(not ideal).  I was hoping to see something like:
>default_version="${ost} ${osr} (${id}) #${v}: ${t}\\n    ${u}@${h}:${d}\\n"
>echo \
>  "const char version[] = \
>    \"${version}\\n\";" \
>  >> vers.c

there's no reason you can't do something like that all by yourself...

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."