lkml.org 
[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 08 Jan 2008 14:45:43 -0800
FromRandy Dunlap <>
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    [from the cache]
©2003-2008