在我的 ubuntu 12.04 中
#ntpd --version
ntpd [email protected] Wed Mar 2 06:23:51 UTC 2016 (5)
上面的「(5)」代表什麼?
答案1
版本號碼後面的日期代表該版本的編譯時間。
我的猜測是,這(5)
與協調世界時 (UTC) 值有關。也許是與 UTC 的時差,在本例中為 +5 小時?到目前為止我還沒有找到相關的文件。
似乎數字(5)
代表 makefile 被執行的次數(thx@沙拉斯·曼查拉)。
版本樣式如下,只是為了證明我對UTC日期的猜測。
NTP uses A.B.C - style release numbers.
At the moment:
A is 4, for ntp V4.
B is the major release number.
C is the minor release number. Even numbers are 'stable' releases and
odd numbers are "development" releases.
Following the release number may be the letter 'p' followed by a number.
This indicates a point (or patch) release.
Release candidates have -RC in the release number.
Here are some recent versions numbers as an example:
4.2.2 A production release (from the ntp-stable repository)
4.2.2p2 A production release (from the ntp-stable repository)
4.2.3p12 A development release
4.2.3p15-rc1 A release candidate for 4.2.4