Fabrice Bacchella wrote:
LC_TIME n'est là que pour l'affichage de la langue.

Ton horloge RTC est à l'heure GMT ? Sous Unix, c'est comme ça que ça se gère.

Mais le monde x86 est toujours largement sous la coupe de Microsoft, qui a décidé il y a longtemps que l'heure du BIOS est l'heure locale. On a donc rtc(1M) dans la crontab, et le fichier rtc_config qui ressemble à ça sur ma machine, où tous les systèmes sont d'accord sur l'heure:

$ more /etc/rtc_config
#
#       This file (/etc/rtc_config) contains information used to manage the
#       x86 real time clock hardware.  The hardware is kept in
#       the machine's local time for compatibility with other x86
#       operating systems.  This file is read by the kernel at
#       boot time.  It is set and updated by the /usr/sbin/rtc
#       command.  The 'zone_info' field designates the local
#       time zone.  The 'zone_lag' field indicates the number
#       of seconds between local time and Greenwich Mean Time.
#
zone_info=Europe/Paris
zone_lag=-3600

Laurent


_______________________________________________
Solaris_fr liste de diffusion en français pour Solaris, sur toutes architectures
[email protected]
http://x86.sun.com/mailman/listinfo/solaris_fr

Répondre à