fix xfsqa on whole disks
PATCH 1/1 fix xfsqa on whole disks
mkfe2fs unfortunately hasn't heard about real enterprise setups using whole disks and needs the -F option to create a filesystem on those without asking stupid questions that make the testcases block forever.
Signed-off-by Christoph Hellwig <[email protected]>
Index: xfstests/032
===================================================================
RCS file: /cvs/xfs-cmds/xfstests/032,v
retrieving revision 1.14
032 +4 -0
@@ -46,6 +46,10 @@ do [ $fs = reiserfs ] && preop="echo y |" && preargs="-f" # cramfs mkfs requires a directory argument [ $fs = cramfs ] && preargs=/proc/fs/xfs + [ $fs = ext2 ] && preargs="-F" + [ $fs = ext3 ] && preargs="-F" + [ $fs = ext4 ] && preargs="-F" + [ $fs = ext4dev ] && preargs="-F" # overwite the first few Kb - should blow away superblocks src/devzero -n 20 $SCRATCH_DEV >/dev/null
Index: xfstests/049
===================================================================
RCS file: /cvs/xfs-cmds/xfstests/049,v
retrieving revision 1.16
049 +1 -1
@@ -60,7 +60,7 @@ echo "--- mounts" >> $seq.full mount >> $seq.full _log "Create ext2 fs on scratch" -mkfs -t ext2 $SCRATCH_DEV >> $seq.full 2>&1 \ +mkfs -t ext2 -F $SCRATCH_DEV >> $seq.full 2>&1 \ || _fail "!!! failed to mkfs ext2" _log "Mount ext2 fs on scratch"
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs