Don't use "debugfs -f /dev/stdin" for portability reasons --- not all
systems have /dev/stdin. Simply dropping "-f /dev/stdin" works just
fine.
Reported-by: Rical Jasan <ricaljasan@pacific.net>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
echo "set_inode_field $name $xtime @$time"
echo "set_inode_field $name ${xtime}_extra $extra"
done
- } | $DEBUGFS -w -f /dev/stdin $TMPFILE >> $OUT 2>&1
+ } | $DEBUGFS -w $TMPFILE >> $OUT 2>&1
}
get_file_xtime_and_extra() {
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 uid 500
set_inode_field file1 gid 500