cp: cycle detected: Solaris 10 0606 smpatched

Can anyone please help me understand what happened here? I have never seen this error before. google shows no info. and the files were not copied.

bash-3.00# cp -r -p /opto/* /opt

cp: cannot access /opto/csw/bin/php5

cp: cycle detected: /opto/csw/lib/32

cp: cycle detected: /opto/csw/lib/i386

cp: cycle detected: /opto/csw/lib/mysql/i386

cp: cycle detected: /opto/csw/mysql4/lib/mysql/i386

cp: cycle detected: /opto/csw/bdb4/lib/32

cp: cycle detected: /opto/csw/bdb4/lib/i386

bash-3.00# ls -lt /opt/csw/lib/32

/opt/csw/lib/32: No such file or directory

bash-3.00# ls -lt /opt/csw/lib/i386

/opt/csw/lib/i386: No such file or directory

bash-3.00#

Regards.

[745 byte] By [_junkken] at [2007-11-26 9:11:34]
# 1

If directory links exist, it is possible to have a cycle in the filesystem (rather than a tree). So when running the tree, the code may hit a directory twice from 2 directions. When doing so, it realizes a cycle is present and it shouldn't copy the file twice.

Cycles in a filesystem are possible, but almost never a good idea. It's also possible that rather than a true cycle, your filesystem has some sort of corruption.

--

Darren

Darren_Dunham at 2007-7-6 23:31:53 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...