[CRIU] [PATCH 2/3] others/mnt-ext-dev: Force mke2fs to create a filesystem

Andrey Vagin avagin at openvz.org
Tue Jul 5 19:01:58 PDT 2016


From: Andrew Vagin <avagin at virtuozzo.com>

It's required because we specify a file instead of a block device.

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 test/others/mnt-ext-dev/run.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/others/mnt-ext-dev/run.sh b/test/others/mnt-ext-dev/run.sh
index 368c03d..9803a8f 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
-- 
2.7.4



More information about the CRIU mailing list