lkml.org 
[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.6.24-rc7: sparc64: WARNING: at kernel/lockdep_proc.c:267 lockdep_stats_show()
Date
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...

Hm... true. Good hint.

Thanks,

Mariusz




\
 
 \ /
  Last update: 2008-01-09 17:33    [W:0.405 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site