I did some checking on desktops running Slackware.
The basic difference between the servers and the desktops is that the servers stay on 24x7 (safe maintenance etc.) and desktops are turned off at night and turned on the next day.
On the desktops I found several files that are changed with each boot:
Code:
/etc/ld.so.cache
/etc/random-seed
/etc/udev/rules.d/70-persistent-net.rules (boxes with two NICs)
/etc/motd
/etc/gtk-2.0/gtk.immodules
/etc/printcap (done by CUPS)
/etc/mtab
All of this is done by the normal initialization scripts so this is expected behavior.
On the servers, all of the above-mentioned files are static and do not change during normal operation. /etc/mtab will change of course if you mount / unmount volumes.
I also checked the sequence of services started and saw that rc.ntpd is initialized after (in this order):
- starting rc.pcmcia
- starting udev
- initializing the network hardware
- starting USB/SCSI/IEEE1394/etc devices
- starting network daemons
- mounting the volumes from fstab
So I can put the drift file on /var/lib/ntp even if that is on a volume mounted via NFS on a different server.
So, no excuse to leave it in /etc !