From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 04 Sep 2005 16:07:26 +0000 Subject: Re: firmware.agent and trailing newlines Message-Id: <20050904160726.GB18066@kroah.com> List-Id: References: <200509021341.54762.baldrick@free.fr> In-Reply-To: <200509021341.54762.baldrick@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Sep 02, 2005 at 01:41:54PM +0200, Duncan Sands wrote: > (B) Is whitespace stripped off values written to > sysfs attributes? If so, why? What if you want > trailing/leading spaces? What about trailing > newlines - are they stripped? Should they be? > What is the policy/rationale on sysfs attributes > and whitespace? There is a patch in my tree, and in -mm that does this (incorrectly too, I have an update from it from the author.) However I'm going to just drop it entirely, as we should not be stripping stuff like this from the kernel. I am guessing that Ubuntu put this patch in their kernel? thanks, greg k-h ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel