FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-15-2010, 01:01 AM
T o n g
 
Default Conclusion: FAT mount, UTC and localtime

On Thu, 15 Jul 2010 00:44:49 +0000, T o n g wrote:

> $ date; hwclock --show
> Wed Jul 14 20:33:58 EDT 2010
> Wed 14 Jul 2010 08:33:58 PM EDT -0.953730 seconds
>
> Seems to me my hardware clock is set to local time here instead.

Nope, it get correctly interpreted by the system.

Thanks to Dave's solution, problem solved now. Reposting below:

The bug report contains the following work-around, as root run these
commands:

hwclock --systohc --utc
hwclock --hctosys --utc

Thanks everyone who replied.

--
Tong (remove underscore(s) to reply)
http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i1lmkl$ep6$1@dough.gmane.org">http://lists.debian.org/i1lmkl$ep6$1@dough.gmane.org
 
Old 07-15-2010, 06:41 PM
"H.S."
 
Default Conclusion: FAT mount, UTC and localtime

On 14/07/10 09:01 PM, T o n g wrote:
> On Thu, 15 Jul 2010 00:44:49 +0000, T o n g wrote:
> Thanks to Dave's solution, problem solved now. Reposting below:
>
> The bug report contains the following work-around, as root run these
> commands:
>
> hwclock --systohc --utc
> hwclock --hctosys --utc
>
> Thanks everyone who replied.
>

Just wanted to report how it is going with my machine with these steps
as well. I gave the above two commands and rebooted. BIOS clock showed
UTC. Booting into Windows 7 (which is set to take BIOS time as UTC time
by the registry change I mentioned in an earlier post) and in Fedora 7
shows the right time. Rebooted, confirm BIOS was still on UTC and logged
in to Debian. The time was still correctly displayed as EDT.
$ grep -i utc /etc/default/rcS
UTC=yes
~/tmp$ date
Thu Jul 15 14:40:18 EDT 2010
~/tmp$ date --utc
Thu Jul 15 18:40:22 UTC 2010


So, er, I am still not sure how to understand this:
"To change the computer to use UTC after installation, edit the file
/etc/default/rcS, change the variable UTC to no. If you happened to
install your system to use local time, just change the variable to yes
to start using UTC." ---
http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i1nkpd$loo$1@dough.gmane.org">http://lists.debian.org/i1nkpd$loo$1@dough.gmane.org
 
Old 07-15-2010, 07:00 PM
Andrei Popescu
 
Default Conclusion: FAT mount, UTC and localtime

On Jo, 15 iul 10, 14:41:49, H.S. wrote:
>
> So, er, I am still not sure how to understand this:
> "To change the computer to use UTC after installation, edit the file
> /etc/default/rcS, change the variable UTC to no. If you happened to
> install your system to use local time, just change the variable to yes
> to start using UTC." ---
> http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

Looks like it's missing a "not", but that document is obsolete anyway.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
 
Old 07-15-2010, 07:12 PM
John Hasler
 
Default Conclusion: FAT mount, UTC and localtime

H.S. writes:
> So, er, I am still not sure how to understand this:
> "To change the computer to use UTC after installation, edit the file
> /etc/default/rcS, change the variable UTC to no. If you happened to
> install your system to use local time, just change the variable to yes
> to start using UTC." ---
> http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html

It's an error. man rcS
--
John Hasler


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87vd8gy2xb.fsf@thumper.dhh.gt.org">http://lists.debian.org/87vd8gy2xb.fsf@thumper.dhh.gt.org
 
Old 07-15-2010, 07:36 PM
"H.S."
 
Default Conclusion: FAT mount, UTC and localtime

On 15/07/10 03:12 PM, John Hasler wrote:
> H.S. writes:
>> So, er, I am still not sure how to understand this:
>> "To change the computer to use UTC after installation, edit the file
>> /etc/default/rcS, change the variable UTC to no. If you happened to
>> install your system to use local time, just change the variable to yes
>> to start using UTC." ---
>> http://www.debian.org/doc/manuals/system-administrator/ch-sysadmin-time.html
>
> It's an error. man rcS

I see. From the man page:
"UTC .... If this option is set to no then the system clock is
assumed to be set to local time. If the option is set to yes then the
system clock is assumed to be set to something approximating
Coordinated Universal Time (UTC). (POSIX systems keep a variant of UTC,
without leap seconds.)"

Thanks for pointing that out.
Regards.


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i1nnvj$2vn$1@dough.gmane.org">http://lists.debian.org/i1nnvj$2vn$1@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 01:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org