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
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html