From: John Stultz Subject: Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs Date: Fri, 22 Feb 2013 12:43:48 -0800 Message-ID: <5127D884.6020701@linaro.org> References: <1360861375-24131-1-git-send-email-prarit@redhat.com> <1360861375-24131-3-git-send-email-prarit@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360861375-24131-3-git-send-email-prarit-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Prarit Bhargava Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Thomas Gleixner , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, Matt Fleming , David Vrabel , Andrew Morton , Andi Kleen , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-efi@vger.kernel.org On 02/14/2013 09:02 AM, Prarit Bhargava wrote: > /sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have > read-only access. This patch introduces write functionality which will > set the rtc time. > > Usage: echo YYYY-MM-DD > /sys/class/rtc/rtcX/date > echo HH:MM:SS > /sys/class/rtc/rtcX/time Why do we want to add a new interface here? thanks -john