- 论坛徽章:
- 0
|
紧急请求帮助
Frequently Asked Questions
FAQ help
Search tips
What can I do about the following error message from the find command: find: 0652-019?
A: This error is caused by an illegal hard link. Hard links can be made with both the ln and link commands, but only the link command allows the creation of illegal hard links. The link command can only be run by root. One use of the link command is to repair file systems. For example, it can be used to restore a missing "." or ".." entry. Its ability to do this is what gives it the ability to create illegal hard links.
Certain illegal hard links between directories can cause the find command to report:
find: 0652-019 The status on <file_name>; is not valid
on all files and directories it finds after the illegal hard link. Note that there may be other causes of this error, such as a missing "." or ".." entry.
Detection methods
One method for finding the first illegal hard link is to run "ls -f1" in the directory where the error first occurs to see the entries in the order that find sees them. The directory entry before the first entry that gets the find 0652-019 error should be the one that has the illegal hard link somewhere in its tree.
The above method only finds the first illegal hard link. There may be others. Some more searching should be done by the user. |
|