HomeFreeBSD

du: Print progress information to stderr

Description

du: Print progress information to stderr

  • On SIGINFO, print the current path to stderr rather than stdout.
  • Do so immediately, instead of the next time we finish a directory.
  • Document this behavior in the manual page.

PR: 296861
MFC after: 1 week
Fixes: d1588599c024 ("Report the next directory being scanned ...")
Reviewed by: wollman
Differential Revision: https://reviews.freebsd.org/D58702

Details

Provenance
desAuthored on Aug 8 2026, 12:10 AM
Reviewer
wollman
Differential Revision
D58702: du: Print progress information to stderr
Parents
rG4c4bad4421fb: kqueue: avoid closing a file under the knlist lock
Branches
Unknown
Tags
Unknown