tim.conway@philips.com
2002-Apr-05  06:02 UTC
is it a bug or a feature? re:time zone differences, laptops, and suggestion for a new option
I just did a win2k install, and as I thought i'd remembered, it asked 
whether the hardware clock was UTC or localtime (and recommends 
localtime).  Of course, I chose UTC, but most would probably follow 
MegaSloth's recommendation.  I don't know how to change it on an 
already-installed system, though.  Does anyone else?
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), 
".\n" '
"There are some who call me.... Tim?"
Martin Pool <mbp@samba.org>
Sent by: rsync-admin@lists.samba.org
04/05/2002 12:43 AM
 
        To:     Robert Scholten <r.scholten@physics.unimelb.edu.au>
        cc:     rsync users <rsync@samba.org>
(bcc: Tim Conway/LMT/SC/PHILIPS)
        Subject:        Re: is it a bug or a feature?  re:time zone differences,
laptops,  and
suggestion for a new option
        Classification: 
On  5 Apr 2002, Robert Scholten <r.scholten@physics.unimelb.edu.au>
wrote:> 
> >Dear Tim, Martin,
> 
> Thanks for helping with this.  I tried setting TZ=UTC at both ends, and 
> discovered that for some reason the files had a 1-hour timestamp 
> difference.  Not sure how that happened,
Melbourne just went off daylight savings.  I reckon there's a
connection there.  :-)
Microsoft like storing the local time in the hardware clock, which is
not the smartest design in the world.  They have to kludge it when the
timezone's offset changes; this is particularly problematic on
laptops, and also if you dual-boot the machine either between unix and
xp, or different M$ installations.
> BTW, I have recently found another problem with using rsync on
> Windows/cygwin platforms.  I had an exclude/include file list in dos
> format (cr/lf pairs instead of newlines).  Oh boy did that create
> some fun.  include/exclude rules are funny enough without the weird
> behaviour of matching added CR's.  In my rsync scripts I now run
> dos2ux on these lists before executing rsync.
A patch to fix that will go into 2.6.
> Thanks again for your help.  I live and breathe by rsync now that I'm 
> 20,000km from hom.
> Rob.
-- 
Martin 
-- 
To unsubscribe or change options: 
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
David Starks-Browning
2002-Apr-05  06:33 UTC
is it a bug or a feature? re:time zone differences, laptops, and suggestion for a new option
On Friday 5 Apr 02, tim.conway@philips.com writes:> I just did a win2k install, and as I thought i'd remembered, it asked > whether the hardware clock was UTC or localtime (and recommends > localtime). Of course, I chose UTC, but most would probably follow > MegaSloth's recommendation. I don't know how to change it on an > already-installed system, though. Does anyone else?Lapo, how do you handle this for the Cygwin build? Thanks, David