mkfs.erofs is noisy when run with a pipe attached to stdout/stderr

Daan De Meyer daan.j.demeyer at gmail.com
Tue Jan 9 21:12:48 AEDT 2024


Hi,

When executed with a pipe attached to stdout/stderr (for example in
CI), mkfs.erofs is super verbose as \r doesn't go to the beginning of
the line so mkfs.erofs will print a separate line for each file in the
root directory that is passed to mkfs.erofs. Could mkfs.erofs be
updated to not print a separate line for each file when stdout/stderr
are not ttys?

Cheers,

Daan De Meyer


More information about the Linux-erofs mailing list