[sg]ethostid(3) and FHS
Mark Kettenis
kettenis@wins.uva.nl
Thu Sep 7 01:39:00 GMT 2000
Date: Thu, 7 Sep 2000 10:38:08 +0200
From: Jakub Jelinek <jakub@redhat.com>
Hi!
/var/adm does not exist in FHS for quite some time, yet
sysdeps/unix/sysv/linux/gethostid.c still references (/var/adm/hostid),
which means gethostid and sethostid don't work for quite some time.
Any ideas on what's the best path to replace it with?
>From quick skimming of FHS 2.1 it looks like /var/lib/hostid or
/var/lib/misc/hostid could be ok...
We use /etc/hostid on the Hurd, which makes sense to me since in the
absence of a *real* hardware serial number (which we probably don't
really want) it basically becomes a system configuration thingy.
Mark
More information about the Libc-hacker
mailing list