lkml.org 
[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.6.24-rc7: sparc64: WARNING: at kernel/lockdep_proc.c:267 lockdep_stats_show()
Mariusz Kozlowski wrote:
> Hello,
>
>>> Got this when doing usual looping over /proc entries on fresh test kernel:
>> What is the usual looping, please?
>
> #!/bin/bash
>
> for i in `find /proc -type f`; do
> echo -n "cat $i > /dev/null ... ";
> ( cat $i > /dev/null & );
> echo "done";
> done

OK, thanks. Probably not related to the problem report, but
the script should probably check each file for 'readable' (-r).
/proc/sysrq-trigger is write-only...

--
~Randy


\
 
 \ /
  Last update: 2008-01-08 23:51    [W:0.059 / U:10.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site