lkml.org 
[lkml]   [2006]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateWed, 1 Feb 2006 15:54:22 +0100 (MET)
FromJan Engelhardt <>
SubjectRe: Right way to configure a driver? (sysfs, ioctl, proc, configfs,....)
>> 
>> I guess I could pass three values on the same file, like this:
>> $ echo "5 1000 500" > meminfo
>>
>> I know that breaks the sysfs golden-rule, but how can I pass those
>> values _atomically_ then? Having three different files wouldn't be
>> atomic...
>
>That's what configfs was created for. I suggest using that for things
>like this, as sysfs is not intended for it.
>
Can't we just somewhat merge all the duplicated functionality between procfs,
sysfs and configfs...


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-01 15:58    [from the cache]
©2003-2010