[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] timezone change



On Mon, Mar 27, 2000 at 12:12:24PM +0200, Petr Stehlik wrote:
> > > I would prefer to set the system-clock to local-time, since I also use
> > > TOS and MagiC from time to time (quite often on my TT actually) and
> > > would like to avoid conflicting timestamps.
> > 
> > There are no conflicts.
> 
> I think you're wrong.

Yes, he is wrong.  The problem is not the timestamps.  The problem is that
the clock simply goes wrong in Magic if you run UTC in MiNT.

> 
> > The FAT filesystems must convert to localtime and MinixFS and ext2-FS run
> > always UTC.
> 
> FAT filesystem is converted to localtime under MiNT, but when you reboot
> to other OS you run with UTC and so you create wrong timestamps.

No, MiNT's timestamps should be correct. The problem again: You boot Magic
and since your system clock ticks in UTC, Magic will create timestamps
trusting on a system clock that goes wrong (it goes "wrong" for Magic
because it is set to UTC).  When you reboot into MiNT the timestamps that
Magic created are wrong because Magic used a wrong system time.

I don't think that this is a MiNT specific problem.  Under Linux you also
have the choice to run your system in UTC or in local time.  If you choose
UTC you will have problems if you run Windows.

Ciao

Guido
-- 
http://stud.uni-sb.de/~gufl0000/
Send your spam to president@whitehouse.gov and your replies to
mailto:guido at freemint dot de