![](https://seccdn.libravatar.org/avatar/d2f7bef0955962945cf8aef4a147f5d1.jpg?s=120&d=mm&r=g)
On Tue, Feb 23, 2010 at 03:08:29PM +0100, Ludwig Nussel wrote:
Hi,
Does anyone know any users of /usr/bin/hostid? We have a custom one in the util-linux package but upstream coreutils contains a different implementation. Ours prints '0xnumber' while upstream only prints 'number'. Also ours allows to set the hostid and the man page refers to /etc/hostid. However, hostid doesn't actually read that file and there also doesn't seem to be an init script for it either. So I wonder whether we could safely switch to the coreutils version.
Hmmm ... the id its self seems to be calculated from the internet address accordingly to gethostid(2) Beside this for a hexadecimal numbers I prefere 0x as it may happen that a hexadecimal number only consists of numerics between 0 and 9 but misses any numerics between A and F Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org