mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
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>
This commit is contained in:
parent
fc10a4098f
commit
87270c8147
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue