#!/bin/sh
# Scan this directory and subdirectories for files that can't be read.   This
# should  produce  an  error message for permission problems, and long pauses
# for I/O errors.  In the latter case,  /var/log/system.log  may  contain  an
# error message.

find . -type f -exec ls -lid {} \; \
	-exec sleep 1 \; \
	-exec grep 'foobar' {} \;
