In Catalina with Xcode installed, if I turn the command
it returns the two files:
However, the second file returned above does not exist:
Any suggestions on the proper way to use use find to traverse the filesystem namespace without producing non-existing paths?
Code Block sh find -x / -type f -name slapd-bdb.5 -print 2>/dev/null | head -2
it returns the two files:
Code Block /usr/share/man/man5/slapd-bdb.5 /System/Volumes/Data/usr/share/man/man5/slapd-bdb.5
However, the second file returned above does not exist:
Code Block ls -l /System/Volumes/Data/usr/share/man/man5/slapd-bdb.5 ls: /System/Volumes/Data/usr/share/man/man5/slapd-bdb.5: No such file or directory
Any suggestions on the proper way to use use find to traverse the filesystem namespace without producing non-existing paths?