bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Rick Kilgore
Subject: [bug #64171] find is missing folders on my mac
Date: Wed, 10 May 2023 03:16:55 -0400 (EDT)

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]