Subject: Re: kern/1690: netbsd version string inconsistency
To: None <dan@anarres.mame.mu.oz.au>
From: Frank van der Linden <frank@fwi.uva.nl>
List: netbsd-bugs
Date: 10/25/1995 11:10:08
Quoting Daniel Carosone,

> I keep my kernels in /netbsd.NN with the build number as NN, "what
> netbsd" is a convenient way to find this number after building and
> before installing a new kernel in /.

> On the sparc, and possibly other machines, it doesn't work, and I need
> to "strings netbsd | grep XX" where XX is "NetBSD" or the kernel
> config name or "1995" or whatever else I feel like typing on the day.

Ok, but how about simply using 'uname -v', or 'cat /kern/version' if
kernfs is enabled?

- Frank