[bug #64171] find is missing folders on my mac

Rick Kilgore <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #4, bug #64171 (project findutils):

[comment #2 comment #2:]
> What do you see if you turn on debug output?  For example,
> ...

I attached the output of "sudo gfind -D all / -maxdepth 2" as debug.log. 
Remember that this command actually works.  It works fine at least as far as
-maxdepth 8, but if I don't supply a -maxdepth argument at all, then it
fails.

Here are the other answers:

[txbook /]: ( cd / && gls -a / | while read i ; do [ -d "$i" ] && printf x;
done ) | wc -c
      19
[txbook /]: gls -a1F | grep -c '/$'
15
[txbook /]: gstat /
  File: /
  Size: 640             Blocks: 0          IO Block: 4096   directory
Device: 1,14    Inode: 2           Links: 20
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/   wheel)
Access: 2023-04-01 09:46:50.000000000 -0700
Modify: 2023-04-01 09:46:50.000000000 -0700
Change: 2023-04-01 09:46:50.000000000 -0700
 Birth: 2023-04-01 09:46:50.000000000 -0700


Regarding the link counts, there are 4 soft links to directories, but none of
them are /opt. (.VolumeIcon.icns is a broken link). 

[txbook /]: gls -a1F
./
../
.VolumeIcon.icns@
.file
.vol/
Applications/
Library/
System/
Users/
Volumes/
bin/
cores/
dev/
etc@
home@
opt/
private/
sbin/
tmp@
usr/
var@


(file #54716)

    _______________________________________________________

Additional Item Attachment:

File name: debug.log                      Size:207 KB
    <https://file.savannah.gnu.org/file/debug.log?file_id=54716>



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.