lkml.org 
[lkml]   [2010]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch 2/3] sysctl: add proc_do_large_bitmap
Cong Wang wrote:
> Changli Gao wrote:
>> add the following lines to let "echo 1-10 >>
>> /proc/..." work as normal.
>
> Hmm, I haven't tested this, what did you see if we append
> lines into it?
>
> Also, do we need appending lines to this /proc file when design it?
> Octavian? Eric?
>

Hmm, currently this behaves like other /proc files, IOW,
echo 'foo' >> /proc/XXX is the same with echo 'foo' > /proc/XXX.

I think it is reasonable for bitmap /proc files to have
echo 'foo' >> /proc/XXX behaves like non-proc files, that is
appending numbers into that file, like what Changli mentioned.

Any objections?

Thanks.


\
 
 \ /
  Last update: 2010-05-05 11:19    [W:2.181 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site