Re: FreeBSD-update?

看板FB_questions作者時間12年前 (2013/04/27 14:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串24/25 (看更多)
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-unsubscribe@freebsd.org"
文章代碼(AID): #1HUt3mz4 (FB_questions)
文章代碼(AID): #1HUt3mz4 (FB_questions)