While playing around with find
in Terminal I came across this odd behavior:
There seems to be an infinite loop in the Mac File System like so:
/Volumes/Macintosh HD/Volumes/Macintosh HD/
...and so on.
Apparently it is possible to access Volumes
and Macintosh HD
over and over again.
How is this possible? Should this not confuse any process digging recursively through the File System?
find
command, to your post, you were using to cause this loop.pwd
can produce the following output:/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/Macintosh HD/Volumes/
find
just pointed me to this because I tried to search only on myMacintosh HD
and then realized that I got output from other volumes as well.