----- Original Message ----- 
From: "Denys Vlasenko" <[email protected]>
To: "Klaus Brinkmann" <[email protected]>
Cc: <[email protected]>
Sent: Monday, July 04, 2011 4:43 AM
Subject: Re: Small issues with hwclock of busybox


> On Sunday 03 July 2011 11:37, Klaus Brinkmann wrote:
> > Hello Denys
> >
> > > What in current text makes it unclear?
> >
> > >         -u      Hardware clock is in UTC
> > >         -l      Hardware clock is in local time
> >
> > As I described in the linked forum-thread
> >
(http://userpages.uni-koblenz.de/~bbrink/phpBB3/viewtopic.php?f=9&t=16&p=18#
p18):
> >
> > The "is in" in the "--help"-output can be interpreted as "is output in"
> > and not as it's ment to be interpreted "is kept/stored in". Especially
> > because the output of "hwclock -ru" or "hwclock -rl" does not clearly
> > state which timezone the time is shown in. This leads to a different
> > expected result if you compare it to the "date"-output. Please follow
> > the above link for the example.
>
> How about this?
>
> -//usage:     "\n       -u      Hardware clock is in UTC"
> -//usage:     "\n       -l      Hardware clock is in local time"
> +//usage:     "\n       -u      Assume hardware clock is kept in UTC"
> +//usage:     "\n       -l      Assume hardware clock is kept in local
time"
>
>
> > > hwclock from util-linux-2.19.1 does not show timezone.
> > > Busybox tries to mimic 'standard' tools behavior.
> >
> > The hwclock-command that i use on Gentoo and that _does_ show the
> > timezone ("CEST" in my case) comes with the portage-package
> > sys-apps/util-linux-2.19.1 which is from
> > http://www.kernel.org/pub/linux/utils/util-linux/
> >  I am surprised that it doesn't show the timezone for you, but that it
> > does for me (for my Gentoo-PC). I have no idea right now what might be
> > causing this.
>
> We need more data then.
>
> Fedora 15: doesn't show timezone
> Gentoo (which version?): shows timezone
> Other distros: ?
> Latest canilla util-linux: ?
>
> -- 
> vda

Ubuntu 10.04
foo@amd64:/$ hwclock -v
hwclock de util-linux-ng 2.17.2
foo@amd64:/$ sudo hwclock
lun. 04 juil. 2011 06:35:42 CEST  -0.875156 secondes
foo@amd64:/$ sudo hwclock -u
lun. 04 juil. 2011 08:35:48 CEST  -0.859306 secondes

Vanilia util-linux-2.19
[chroot-i486] root:/$ hwclock -v
hwclock from util-linux 2.19
[chroot-i486] root:/$ hwclock
Mon Jul  4 06:40:29 2011  -0.000250 seconds
[chroot-i486] root:/$ hwclock -u
Mon Jul  4 08:40:33 2011  -0.000076 seconds

I didn't find a way to display the timezone name with util-linux-2.19, maybe
I didn't try enought?

Gilles

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to