lkml.org 
[lkml]   [2013]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFE PATCH 2/2] rtc, add write functionality to sysfs
On Sun, 24 Feb 2013 12:03:01 -0500
Prarit Bhargava <prarit@redhat.com> wrote:

>
> AFAICT there is no way for me to "test" or use the write from userspace.
> hwclock uses the SET_TIME ioctl, which is a different code path AFAICT.
>
> I'd like to be at least able to test this stuff when we make changes to it so I
> think having write functionality for date & time is worthwhile.
>
> For me, I'm using these to heavily test ntp and ntpdate over system reboots.

the point is: who will benefit from this patch? users? distributions?
embedded distributions? if it's useful, then just go for it.


> OOC, Alessandro, why is the date & time split into two fields?

because date and time are two different things and we expect
sysfs to preferably have one value for each entry.

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it



\
 
 \ /
  Last update: 2013-02-25 21:02    [W:0.057 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site