tytso / e2fsprogs

Ext2/3/4 file system utilities
http://ext4.wiki.kernel.org
373 stars 219 forks source link

misc/mke2fs.c: suppress 'Creating regular file' message with -q #186

Open josch opened 3 months ago

josch commented 3 months ago

To check if the installed version of mke2fs is able to accept tarballs, I'm piping 10240 null-bytes (an empty tarball) into mke2fs. Unfortunately, mke2fs prints this on stdout:

Creating regular file [...]

and the -q flag has no effect. An easy workaround is to touch the file before running mke2fs but it would be nice if that were not necessary.