mkfs is writing debug message to error stream

Bug #1311042 reported by Dharmendra Modi on 2014-04-22
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
e2fsprogs (Ubuntu)
Low
Unassigned

Bug Description

While formatting a drive mkfs writes debug information to error stream on Ubuntu 13.10 server

uname -a
Linux ubuntu13-10 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Steps :
1 Execute Mkfs command with options as follows
# 2>err.txt 1>output.txt mkfs -F -t ext4 /dev/sdb

2 Display the content of both files

#cat err.txt
mke2fs 1.42.8 (20-Jun-2013)

# cat output.txt
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
8323072 inodes, 33292288 blocks
1664614 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
1016 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

3 Ideally it should not write Debug Info to Error Stream.

Martin Pitt (pitti) wrote :

For the record, we won't fix issues like that downstream in Ubuntu. They might get fixed upstream.

affects: systemd (Ubuntu) → e2fsprogs (Ubuntu)
Changed in e2fsprogs (Ubuntu):
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers