我在 [1] 找到了一些解释。
The static (configured) host name is the one configured in /etc/hostname
or a similar file. It is chosen by the local user. It is not always in
sync with the current host name as returned by the gethostname() system
call. If no host name is configured this property will be the empty
string. Setting this property to the empty string will remove
/etc/hostname. This hostname should be an internet-style hostname, 7bit
ASCII, no special chars/spaces, lower case.
The transient (dynamic) host name is the one configured via the kernel's
sethostbyname(). It can be different from the static hostname in case
DHCP or mDNS have been configured to change the name based on network
information. This property is never empty. If no host name is set this
will default to "localhost". Setting this property to the empty string
will reset the dynamic hostname to the static host name. If no static
host name is configured the dynamic host name will be reset to
"localhost". This hostname should be an internet-style hostname, 7bit
ASCII, no special chars/spaces, lower case.
The pretty host name is a free-form UTF8 host name for presentation to
the user. UIs should ensure that the pretty hostname and the static
hostname stay in sync. i.e. when the former is "Lennart's Computer" the
latter should be "lennarts-computer". If no pretty host name is set this
setting will be the empty string. Applications should then find a
suitable fallback, such as the dynamic hostname.
我觉得之所以用 pretty,大概是因为它的特点,它可以使用任何 UTF8 的字符。
要不要把它叫做 “名义主机名”?
找不到合适的词前,保留原文最好不过。
[1]
http://www.freedesktop.org/wiki/Software/systemd/hostnamed
--
Regards,
Tiansworld
Fedora Project Contributor