find command warns with "Filesystem loop detected;" messages.

Solution Verified - Updated -

Issue

find command warns with the following messages and fails to display file lists under './test' sub-directory.

/usr/bin/find: Filesystem loop detected; `./test' has the same device number and inode as a directory which is 1 level higher in the filesystem hierarchy.

Environment

  • Red Hat Enterprise Linux
  • find

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.