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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content