On Wed, Apr 24, 2013, at 20:41, Da Rock wrote: > On 04/25/13 09:07, Mike Brown wrote: > > Da Rock wrote: > >> sysctl kern.version > > For me, that's the same info as in uname -a. > > > > Try this: > > > > grep -v # /usr/src/sys/conf/newvers.sh | head -4 > That shows even less. But the point of the OP was having a file in etc > with the info on version, which I fell could be redundant given the > excessive detail available in sysctl which is what it is meant for. > uname actually refers to the sysctl as a neat command for a shell user, > doesn't it? >
The point is that the uname and sysctl output is inaccurate. If the latest release is -p6 and the kernel hasn't been touched since -p4, both uname and the sysctl only show -p4. It's impossible to tell otherwise that the system is really -p6 if you don't have /usr/src/. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"