| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 2/8] xfstests: get rid of hardcoded /sbin/mkfs |
| From: | Dmitry Monakhov <dmonakhov@xxxxxxxxxx> |
| Date: | Wed, 13 Feb 2013 12:49:57 +0400 |
| Cc: | linux-ext4@xxxxxxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, dchinner@xxxxxxxxxx, Dmitry Monakhov <dmonakhov@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1360745403-6373-1-git-send-email-dmonakhov@xxxxxxxxxx> |
| References: | <1360745403-6373-1-git-send-email-dmonakhov@xxxxxxxxxx> |
Signed-off-by: Dmitry Monakhov <dmonakhov@xxxxxxxxxx>
---
common.rc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common.rc b/common.rc
index f5027e7..196619d 100644
--- a/common.rc
+++ b/common.rc
@@ -334,7 +334,7 @@ _scratch_mkfs()
$MKFS_BTRFS_PROG $MKFS_OPTIONS $* $SCRATCH_DEV > /dev/null
;;
*)
- /sbin/mkfs -t $FSTYP -- $MKFS_OPTIONS $* $SCRATCH_DEV
+ $MKFS_PROG -t $FSTYP -- $MKFS_OPTIONS $* $SCRATCH_DEV
;;
esac
}
@@ -353,7 +353,7 @@ _scratch_mkfs_sized()
_scratch_mkfs_xfs -d size=$fssize -b size=$blocksize
;;
ext2|ext3|ext4|ext4dev)
- /sbin/mkfs.$FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
+ $MKFS_PROG -t $FSTYP $MKFS_OPTIONS -b $blocksize $SCRATCH_DEV $blocks
;;
btrfs)
$MKFS_BTRFS_PROG $MKFS_OPTIONS -b $fssize $SCRATCH_DEV
--
1.7.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 0/8] xfstests: Stress tests improments v3, Dmitry Monakhov |
|---|---|
| Next by Date: | [PATCH 4/8] xfstest: allow fsstress to use load factor where appropriate, Dmitry Monakhov |
| Previous by Thread: | [PATCH 1/8] xfstests: add fio requirement V2, Dmitry Monakhov |
| Next by Thread: | [PATCH 4/8] xfstest: allow fsstress to use load factor where appropriate, Dmitry Monakhov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |