Follow-up Comment #2, bug #64171 (project findutils):

What do you see if you turn on debug output?  For example,


find -D all / -maxdepth 2


How many direct children (including . and ..) does / have?   What is its hard
link count?

e.g. on my system the answer is 32 for both:


jupiter:/$ ( cd / && ls -a / | while read i ; do [ -d "$i" ] && printf x; done
) | wc -c
32
jupiter:/$ ls -a1F | grep -c '/$'
32
jupiter:/$ stat /
  File: /
  Size: 40              Blocks: 18         IO Block: 2560   directory
Device: 18h/24d Inode: 34          Links: 32
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2023-05-09 21:11:05.083727547 +0100
Modify: 2023-05-01 08:34:01.653993646 +0100
Change: 2023-05-01 08:34:01.653993646 +0100
 Birth: -






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64171>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to