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

(cherry picked from commit fd79bf63442eefd2c3bfb695a377dbd705f5cc6d)

Details

Provenance
desAuthored on Aug 8 2026, 12:10 AM
Reviewer
wollman
Differential Revision
D58702: du: Print progress information to stderr
Parents
rGdf9c6721f819: pseudofs: Don't purge the cache on shutdown
Branches
Unknown
Tags
Unknown