This message is issued when find moves into a directory and ends up somewhere it didn't expect to be. This happens in one of two circumstances. Firstly, this happens when automount
intervenes on a system where find
doesn't know how to determine what the current set of mounted filesystems is.
Secondly, this can happen when the device number of a directory appears to change during a change of current directory, but find
is moving up the filesystem hierarchy rather than down into it. In order to prevent find wandering off into some unexpected part of the filesystem, we stop it at this point.
一共2点,1是因为你的目标文件系统异常,find命令根本无法识别,2是你的目标文件系统内的文件数目在动态改变。解决办法为尽可能缩小搜索范围。
这是个小技巧,记录一下,备忘。
________________________________________________________________________________
版权所有,文章允许转载,但必须以链接方式注明源地址,否则追究法律责任!
Author: laven54 (lurou)
Email: laven54@163.com
Blog: http://blog.csdn.net/laven54