Originally posted by: SystemAdmin
Ex: I am doing a global find from root
-
find / -name *ssh
/tmp/testssh
/home/chi/.ssh
/home/mchowell/.ssh
/home/oracle/.ssh
/opt/diagnostics/probes/ibm.csm.dsh.ssh
/usr/lib/boot/ssh
/usr/local/bin/ssh
find: 0652-023 Cannot open file /proc/1327336.
in IBM doc: Accounting and Auditing on AIX 5L (SG24-6396-00 ISBN 0738491705) pp 62
"If you execute the command as root, you still get error messages
complaining about file access in the /proc file system.
[#][/]> dodisk -o
find: 0652-023 Cannot open file /proc/10608.
find: 0652-023 Cannot open file /proc/14714.
find: 0652-023 Cannot open file /proc/21872.
/proc/25726/fd/8: A file or directory in the path name does not
exist.
This happens because the find command, inside dodisk, is executed
from the (/) directory, without excluding /proc.
Normally, to avoid the /proc directory, the find command should be
executed excluding this:
find /-name proc -prune -o -print"
My other AIX 5.3L (5005), does not have such problem: -> 0652-023
#AIX-Forum