Bug 156703 - [patch] find(1) ignores whiteouts even with '-type w'
Summary: [patch] find(1) ignores whiteouts even with '-type w'
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 17:10 UTC by oleg
Modified: 2019-02-04 10:26 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (273 bytes, patch)
2011-04-28 17:10 UTC, oleg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description oleg 2011-04-28 17:10:10 UTC
`/usr/bin/find -type w` doesn't find whiteouts on upper layer of unionfs.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:50 UTC
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
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-01-28 02:01:34 UTC
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
Comment 3 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-28 21:51:21 UTC
Fix has been committed to HEAD (with minor modifications). Thanks for submitting.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-02-04 10:26:15 UTC
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