Don't use "debugfs -f /dev/stdin" for portability reasons --- not all
systems have /dev/stdin. Simply dropping "-f /dev/stdin" works just
fine.
Signed-off-by: Ingo Brückl <ib@wupperonline.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
printf "ln foofile %0255X\n" $i
i=$(($i + 1))
done
-} | $DEBUGFS -w -f /dev/stdin $TMPFILE > /dev/null 2>&1
+} | $DEBUGFS -w $TMPFILE > /dev/null 2>&1
$E2FSCK -yfD $TMPFILE > $OUT.new 2>&1
status=$?
fi
dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1
-cat <<- EOF | $DEBUGFS -w -f /dev/stdin $TMPFILE >> $test_name.log 2>&1
+cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1
write $TMPFILE.2 file1
set_inode_field file1 projid 500
EOF
fi
dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1
-cat <<- EOF | $DEBUGFS -w -f /dev/stdin $TMPFILE >> $test_name.log 2>&1
+cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1
write $TMPFILE.2 file1
set_inode_field file1 projid 500
EOF