Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #12441
| Newsgroups | comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.debian |
|---|---|
| Subject | Re: what VESA/vga *AM* I useing? |
| References | <m2a5ur$e5b$1@dont-email.me> <KvOdnR_HGMKLWNTJnZ2dnUU7-UWdnZ2d@posted.cavenetllc> <87tx2u0zit.fld@barrow.com> <m2ctqm$pik$2@news.datemas.de> |
| From | floyd@apaflo.com (Floyd L. Davidson) |
| Organization | __________ |
| Date | 2014-10-24 00:02 -0800 |
| Message-ID | <87ppdh28w5.fld@barrow.com> (permalink) |
Cross-posted to 3 groups.
"Nuno J. Silva (aka njsg)" <njsg@invalid.invalid> wrote:
>["Followup-To:" header set to comp.os.linux.misc.]
>On 2014-10-24, Floyd L. Davidson <floyd@apaflo.com> wrote:
>> "Chester A. Arthur" <deadprez@whitehouse.com> wrote:
>>>On Thu, 23 Oct 2014 06:07:23 +0000, not.socialnetwork wrote:
>>>
>>>> PS. how do you easily set the RTC back by 7 minutes,
>>>> without decoding the absurd `man'?
>>>
>>>Set the system clock correctly with the date command, then
>>>run 'sudo hwclock -w', assuming TZ is set properly.
>>
>> /usr/sbin/ntpdate -b us.pool.ntp.org
>>
>>>Read the rtc with 'cat /proc/driver/rtc|head -1' or something
>>>similar on most linuxes.
>>
>> Why not just invoke the "date" command.
>
>Actually, at least on linux, date (software clock) and the RTC are
>different things. In this case, Chester's answer was actually much
>better than mine from yesterday: in this case, we're actually reading
>the time from the RTC, and the question was "how do you [...] set the
>RTC back by [...]".
The procedure recommended above syncronizes them first.
/usr/sbin/ntpdate -b us.pool.ntp.org # set the system clock
hwclock -w # set the hardware clock
date # get the date
>>>One should always keep the hwclock in UTC. System time will
>>>change with the rules for your local time zone, and computers
>>>move, especially laptops. Most linuxes these days follow these
>>>rules, except the gentoo family. Slackware gives you an
>>>explicit choice at install--choose UTC. The BSDs I have tried
>>>give no choice, they set the hwclock to localtime, that's dumb.
>
>I actually don't know what's the default for Gentoo. This at least used
>to be documented in the handbook. But I've got so used to the install
>procedure that I just look it up and make sure that it's set to UTC.
>
>>
>> Most people will be *far* better served setting the
>> hwclock to local time than to UTC.
>
>Actually, if you live in a place where DST exists, for example, all of
>the mainland european union, and at least some of the other EU
>territories, and set the hwclock to local time, you open a pandora's box
>of problems: How do you know in which timezone the RTC is the next time
>you boot up after DST?
I've never lived anywhere that does not have DST, and
never had a problem with that.
I have a cron job that runs "ntbdate -b" regularly. I
have another that runs "hwclock -w" regularly too.
>If you're dual booting with windows, although Microsoft has not
>officially endorsed the option, you can set Windows to treat the RTC as
>being UTC, thus getting rid of yet another problem (which operating
>system changes the RTC to make up for DST, and when?).
>
>The option is not officially endorsed because it has not been hard
>tested and sometimes may have issues, but these are documented in
>Microsoft's Knowledge Base. Microsoft Windows NT 6.1 (Windows 7 and
>Server 2008 R2) and possibly older versions support this option.
>
>Unless you have a strong reason not to keep the RTC in UTC, my humble
>opinion is that you should leave it as UTC to avoid breakage: this way,
>there's no ambiguity as to what the RTC time stands for.
There is no ambiguity.
>>>Localtime is crazy, the rules change and there are so many
>>>strangenesses. (The world ends at midnite-12:30 Newfie time).
>>>There is software to deal with that, and it works well if it
>>>isn't bypassed by OSes that make poor choices.
>>
>> You're making life much more difficult than it need be.
--
Floyd L. Davidson http://www.apaflo.com/
Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
what VESA/vga *AM* I useing? not.socialnetwork@gmail.com - 2014-10-23 06:07 +0000
Re: what VESA/vga *AM* I useing? "Nuno J. Silva (aka njsg)" <njsg@invalid.invalid> - 2014-10-23 08:22 +0000
Re: what VESA/vga *AM* I useing? not.socialnetwork@gmail.com - 2014-10-23 12:04 +0000
Re: what VESA/vga *AM* I useing? Joe Beanfish <joebeanfish@nospam.duh> - 2014-10-23 13:25 +0000
Re: what VESA/vga *AM* I useing? not.socialnetwork@gmail.com - 2014-10-24 06:14 +0000
Re: what VESA/vga *AM* I useing? ebenZEROONE@verizon.net (Hactar) - 2014-10-23 21:45 -0400
Re: what VESA/vga *AM* I useing? "Nuno J. Silva (aka njsg)" <njsg@invalid.invalid> - 2014-10-24 06:56 +0000
Re: what VESA/vga *AM* I useing? Unknown <dog@gmail.com> - 2014-10-26 03:07 +0000
Re: what VESA/vga *AM* I useing? "Chester A. Arthur" <deadprez@whitehouse.com> - 2014-10-23 22:18 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-23 22:09 -0800
Re: what VESA/vga *AM* I useing? "Nuno J. Silva (aka njsg)" <njsg@invalid.invalid> - 2014-10-24 07:07 +0000
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 00:02 -0800
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-24 12:46 +0000
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 05:39 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 09:31 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 08:37 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 12:09 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 09:30 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 12:44 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 10:15 -0800
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-24 18:38 +0000
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 11:09 -0800
Re: what VESA/vga *AM* I useing? Richard Kettlewell <rjk@greenend.org.uk> - 2014-10-24 21:31 +0100
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 12:53 -0800
Re: what VESA/vga *AM* I useing? Chris Vine <chris@cvine--nospam--.freeserve.co.uk> - 2014-10-25 13:56 +0100
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-25 05:12 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-25 09:24 -0500
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-26 00:15 +0000
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 14:17 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 12:55 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 16:23 -0500
Re: what VESA/vga *AM* I useing? Richard Kettlewell <rjk@greenend.org.uk> - 2014-10-24 22:33 +0100
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-24 18:28 +0000
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-24 10:43 -0800
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-24 22:52 +0000
Re: what VESA/vga *AM* I useing? Eef Hartman <E.J.M.Hartman@gmail.com> - 2014-10-24 18:57 +0000
Re: what VESA/vga *AM* I useing? Rich <rich@example.invalid> - 2014-10-24 17:04 +0000
Re: what VESA/vga *AM* I useing? Eef Hartman <E.J.M.Hartman@gmail.com> - 2014-10-24 17:09 +0000
Re: what VESA/vga *AM* I useing? Allodoxaphobia <knock_yourself_out@example.net> - 2014-10-24 21:02 +0000
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-24 16:30 -0500
Re: what VESA/vga *AM* I useing? Martin <m@abc.invalid> - 2014-10-25 14:40 +0200
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-25 04:50 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-25 09:17 -0500
Re: what VESA/vga *AM* I useing? floyd@apaflo.com (Floyd L. Davidson) - 2014-10-25 13:26 -0800
Re: what VESA/vga *AM* I useing? John Hasler <jhasler@newsguy.com> - 2014-10-25 16:49 -0500
Re: what VESA/vga *AM* I useing? Martin <m@abc.invalid> - 2014-10-25 19:54 +0200
csiph-web