On Sun, Aug 24, 2003 at 02:25:47PM -0600, Marc Aurele La France wrote:
> On Tue, 12 Aug 2003, Daniel Stone wrote:
> > > > > This patch puts the kernel version in the banner, on Linux, and also whether
> > > > > or not it's tainted (providing it's a sufficiently recent kernel). Thanks
> > > > > to Mike Harris for this patch (slightly altered to remove RH_CUSTOM, etc).
> 
> > > > Please do not accept this Linux-specific hack of a patch; I merged it to 
> > > > Debian,
> > > > and Mike asked me not to send it upstream.
> 
> > > Granted, as the patch stands.  However, I don't mind doing the minimal
> > > fixing up for inclusion, as this information would be extremely useful in
> > > some logs.
> 
> > Feel free to make it more generic and include it - that would definitely be cool.
> 
> Done.  I opted to use uname(2) instead.  This doesn't say anything about
> Linux's "tainted" thingie, but Mike can send a patch to include it if he,
> or anyone else, feels that strongly about it.

Yeah, I feel strongly about including it if uname->sysname, or whatever it's
called (utsname?) is 'Linux' (or the lower-case equivalent). It's very, very
handy in trying to track down the causes of certain video card driver bugs. ;)

I'll send a patch in a couple of days.

-- 
Daniel Stone                                              <[EMAIL PROTECTED]>
http://www.debian.org - http://www.kde.org - http://www.freedesktop.org
"Configurability is always the best choice when it's pretty simple to implement"
  -- Havoc Pennington, gnome-list

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to