]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
Cleanup mkfs on scratch device for arbitrary filesystems.
authorfsgqa <fsgqa>
Thu, 1 Jul 2004 00:20:03 +0000 (00:20 +0000)
committerfsgqa <fsgqa>
Thu, 1 Jul 2004 00:20:03 +0000 (00:20 +0000)
common.rc

index 13401c3259103f71ad9a4028fd3d479bd1a88f2d..d7b71b327674a6ea47eac5805543caa432aa5abf 100644 (file)
--- a/common.rc
+++ b/common.rc
@@ -189,14 +189,8 @@ _scratch_mkfs()
     udf*)
         $MKFS_PROG -t $FSTYP $MKFS_OPTIONS $* > /dev/null
        ;;
-    ext2)
-       mkfs.ext2 $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
-       ;;
-    ext3)
-       mkfs.ext3 $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
-       ;;
-    reiserfs)
-       mkfs.reiserfs $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
+    *)
+       /sbin/mkfs -t $FSTYP $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
        ;;
     esac
 }