-./test.img: Cannot create filesystem with requested number of inodes while setting up superblock\r
-./test.img: Attempt to read block from filesystem resulted in short read while opening filesystem\r
-features: Filesystem not open\r
+./test.img: Cannot create filesystem with requested number of inodes while setting up superblock
+./test.img: Attempt to read block from filesystem resulted in short read while opening filesystem
+features: Filesystem not open
../e2fsck/e2fsck: Attempt to read block from filesystem resulted in short read while trying to open ./test.img
Could this be a zero-length partition?
Exit status is 8
-../misc/dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open ./test.img\r
+../misc/dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open ./test.img
Couldn't find valid filesystem superblock.
-mke2fs: reserved online resize blocks not supported on non-sparse filesystem\r
-./test.img: Attempt to read block from filesystem resulted in short read while opening filesystem\r
-features: Filesystem not open\r
+mke2fs: reserved online resize blocks not supported on non-sparse filesystem
+./test.img: Attempt to read block from filesystem resulted in short read while opening filesystem
+features: Filesystem not open
../e2fsck/e2fsck: Attempt to read block from filesystem resulted in short read while trying to open ./test.img
Could this be a zero-length partition?
Exit status is 8
-../misc/dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open ./test.img\r
+../misc/dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open ./test.img
Couldn't find valid filesystem superblock.
MKE2FS_SKIP_CHECK_MSG=true
export MKE2FS_SKIP_PROGRESS MKE2FS_SKIP_CHECK_MSG
> $TMPFILE
-PREP_CMD='$MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 | sed -e 1d > $OUT1 ; $DEBUGFS -R features $TMPFILE 2>&1 | sed -e 1d >> $OUT1 ; echo " " >> $OUT1'
-AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs >> $OUT1'
+PREP_CMD='$MKE2FS -F -o Linux $MKE2FS_OPTS $TMPFILE $FS_SIZE 2>&1 | sed -e 1d | tr -d \\015 > $OUT1 ; $DEBUGFS -R features $TMPFILE 2>&1 | sed -e 1d | tr -d \\015 >> $OUT1 ; echo " " >> $OUT1'
+AFTER_CMD='$DUMPE2FS $TMPFILE 2>&1 | sed -f $cmd_dir/filter_dumpe2fs | tr -d \\015 >> $OUT1'
. $cmd_dir/run_e2fsck
unset FS_SIZE MKE2FS_OPTS MKE2FS_SKIP_PROGRESS