RE: How to signal a time zone change?

2009-08-07 Thread Peter Steele
>What's the value of the TZ environment variable for the C apps? You may need to have them read the new value from somewhere, and then rerun tzset(). The default value of the TZ environment variable is null. I just tried passing the explicitly time zone value to the C app and setting TZ to that va

RE: How to signal a time zone change?

2009-08-07 Thread Peter Steele
>You need to signal your app in some way.. Assuming you have source for the app then you can monitor /etc/localtime (or /etc) for change with kevent. Signaling our C apps aren't the problem. We have an IPC framework in place and we can easily tell the C apps when the user has changed the time zone

Re: How to signal a time zone change?

2009-08-07 Thread Julian Elischer
Peter Steele wrote: We have a suite of applications with a Java GUI controlling everything. One of the actions the user can perform is to set the time zone. We do this through our Java application and update the /etc/localtime as required. We also make an API call to tell the JVM that the time zo

How to signal a time zone change?

2009-08-07 Thread Peter Steele
We have a suite of applications with a Java GUI controlling everything. One of the actions the user can perform is to set the time zone. We do this through our Java application and update the /etc/localtime as required. We also make an API call to tell the JVM that the time zone as changed, and fro

Re: Was system rebooted by power fail or by kernel panic?

2009-08-07 Thread Max Laier
On Friday 07 August 2009 19:19:37 cronfy wrote: > Hello! > > Is there a way to find out was system rebooted by power fail or by > kernel panic? > > The problem is that there is no free space on devices to store kernel > core dump (swap is smaller than physical memory, no more dump devices > exist).

Was system rebooted by power fail or by kernel panic?

2009-08-07 Thread cronfy
Hello! Is there a way to find out was system rebooted by power fail or by kernel panic? The problem is that there is no free space on devices to store kernel core dump (swap is smaller than physical memory, no more dump devices exist). Will FreeBSD report about panic somehow if it cannot cre