]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: use -F when making scratch ext4 fs
authorJosef Bacik <jbacik@fusionio.com>
Fri, 26 Apr 2013 19:16:53 +0000 (19:16 +0000)
committerRich Johnston <rjohnston@sgi.com>
Fri, 3 May 2013 12:43:30 +0000 (07:43 -0500)
commitc150d937f506912da8c48419d6939731d5063967
tree34815e8be1865ae30fdd497e2107e818e5cc39f7
parent45ed7bb0a4b6cb9562becc28ac0964e40b44bc97
xfstests: use -F when making scratch ext4 fs

mkfs.ext4 will ask you if you are sure if you try to mkfs an entire disk instead
of just a partition, so any xfstest that uses a scratch device and you specify a
full disk will appear to hang because it's waiting for you to say yes.  This
fixes the problem by just forcing it to do its thing.

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/rc