Article View: comp.os.linux.development.system
Article #32Re: A whacky DATE bug in Linux - PLEASE HELP!
From: Alan Vidler
Date: Fri, 18 Sep 1998 00:00
Date: Fri, 18 Sep 1998 00:00
25 lines
2426 bytes
2426 bytes
>The problem: > >I am having trouble with my DOS partitions. I upgraded from Red Hat 4 to >RedHat 5.1 and since then all the datestamps on files in DOS partitions >are 10 hours ahead of their true time when checked from within Linux. As >I am in Queensland Australia (10 hours ahead of GMT) this is obviously a >time zone problem. But I have checked: > >Win95 says: Timezone Brisbane (GMT+10) >Linux says: Australia/Queensland >/etc/sysconfig/clock says UTC is false I'm no expert and am curently running W98 (blush) so can't use man, but I *think* the above lines say to linux that machine clock is not running UTC (traditionally *nix machines have machine clock running UTC). linux datestamps using UTC; thus it adds 10 hours to any datestamp it finds, to match the Australia/Queensland offset. Anyway, suggest reading man pages etc on the topic. DOS of course assumes the whole world runs on Micro$oft time. [and note W95 includes timezone stuff without any (obvious) way of correcting it, so of course got it wrong for southern east Oz daylight saving - not that they have much hope given politicians change the rools about twice a year]
Technical Details
Message-ID:
<3602427e.39185119@news.dynamite.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3601D4F7.247C8BC2@usq.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,12de531511895886 X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,12de531511895886 X-Google-Attributes: gid10c696,public X-Google-Thread: 100c5f,12de531511895886 X-Google-Attributes: gid100c5f,public X-Google-Thread: f9b51,12de531511895886 X-Google-Attributes: gidf9b51,public X-Google-Thread: f9382,12de531511895886 X-Google-Attributes: gidf9382,public X-Google-Thread: 102983,12de531511895886 X-Google-Attributes: gid102983,public X-Google-Thread: faa64,12de531511895886 X-Google-Attributes: gidfaa64,public X-Google-Thread: ff9be,12de531511895886 X-Google-Attributes: gidff9be,public From: avidler@dynamite.com.au (Alan Vidler) Subject: Re: A whacky DATE bug in Linux - PLEASE HELP! Date: 1998/09/18 Message-ID: <3602427e.39185119@news.dynamite.com.au> X-Deja-AN: 392373919 Content-Transfer-Encoding: 7bit References: <3601D4F7.247C8BC2@usq.edu.au> Content-Type: text/plain; charset=us-ascii Organization: Dynamite Internet http://www.dynamite.com.au/ Mime-Version: 1.0 Newsgroups: comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.setup,alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.questions,aus.computers.linux