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

Gao Xiang hsiangkao at linux.alibaba.com
Wed Jan 10 00:10:08 AEDT 2024


Hi Daan,

On 2024/1/9 18:12, Daan De Meyer wrote:
> 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?

Thanks for the report.  It's helpful and let me investigate and fix
the non-tty cases.

Thanks,
Gao Xiang

> 
> Cheers,
> 
> Daan De Meyer


More information about the Linux-erofs mailing list