`/usr/bin/find -type w` doesn't find whiteouts on upper layer of unionfs.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
A commit references this bug: Author: gonzo Date: Mon Jan 28 02:00:40 UTC 2019 New revision: 343516 URL: https://svnweb.freebsd.org/changeset/base/343516 Log: Fix whiteout support in find(1) find(1) ignores -type w passed to it. With this patch find(1) properly identifies and prints whiteouts. PR: 126384, 156703 Submitted by: oleg@mamontov.net MFC after: 1 week Changes: head/usr.bin/find/find.c
Fix has been committed to HEAD (with minor modifications). Thanks for submitting.
A commit references this bug: Author: gonzo Date: Mon Feb 4 10:25:30 UTC 2019 New revision: 343741 URL: https://svnweb.freebsd.org/changeset/base/343741 Log: MFC r343516: Fix whiteout support in find(1) find(1) ignores -type w passed to it. With this patch find(1) properly identifies and prints whiteouts. PR: 126384, 156703 Submitted by: oleg@mamontov.net Changes: _U stable/12/ stable/12/usr.bin/find/find.c