diff options
author | Andrew Vagin <avagin@virtuozzo.com> | 2016-07-06 05:01:58 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@virtuozzo.com> | 2016-08-01 16:51:05 +0300 |
commit | 87270c8147d5e0c8d10d9daae82a0f71d2aaa30d (patch) | |
tree | b373f6b4089d206048dd1b4b67288030b8a5ff5a /test/others/mnt-ext-dev | |
parent | fc10a4098f33515342b2bc15fff66d0e573e7606 (diff) |
others/mnt-ext-dev: Force mke2fs to create a filesystem
It's required because we specify a file instead of a block device.
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Diffstat (limited to 'test/others/mnt-ext-dev')
-rwxr-xr-x | test/others/mnt-ext-dev/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/others/mnt-ext-dev/run.sh b/test/others/mnt-ext-dev/run.sh index 368c03d06..9803a8f77 100755 --- a/test/others/mnt-ext-dev/run.sh +++ b/test/others/mnt-ext-dev/run.sh @@ -6,7 +6,7 @@ python ../../zdtm.py run -t zdtm/static/env00 --iter 0 -f ns truncate -s 0 zdtm.loop truncate -s 50M zdtm.loop -mkfs.ext4 zdtm.loop +mkfs.ext4 -F zdtm.loop dev=`losetup --find --show zdtm.loop` mkdir -p ../../dev cp -ap $dev ../../dev |