0 Members and 1 Guest are viewing this topic.
What FILE/FOLDER does OS 3.1.4 use to determine the date/time if there is no battery?
I am guessing that the "last modified" date of the root directory of my boot volume is not something that can be updated without re-creating it.
The date and time is then taken from the "last modified" date of the root directory of the boot volume, if the boot volume is an FFS volume. Or rather, the FFS sets the date and time to this date. What other file systems do is up to the file system.
The only way to update the system time is to relabel the volume.
Yes, of course. Just modify a file on the volume.
I also keep recommending http://aminet.net/package/util/time/TimeKeeper
Quote from: Thomas Richter on March 12, 2019, 03:04:42 PMYes, of course. Just modify a file on the volume.I believe I have explained to you at least three times that this does not work. I also keep recommending http://aminet.net/package/util/time/TimeKeeper
Just out of curiosity, why not just keep the network up and stay with the NTP syncing?
I'm not sure that would be right as the OP's machine does have a clock presumably, but his battery is missing. If so, then it will remember the time between reboots anyway (if he sets it with setclock or time prefs first of course).
I have tried using NetShutDown in the WHDLStartup script, but it never returns after being called - to me it seems the process gets locked.
NetShutdown requires that there are no active network connections.