mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
exfat: use truncate instead of dd command
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
This commit is contained in:
parent
2ac0fc42e4
commit
39018f1bca
1 changed files with 4 additions and 4 deletions
|
|
@ -64,12 +64,12 @@ script:
|
|||
- sudo cp lib/.libs/libexfat.so* /lib/
|
||||
- sudo mkdir -p /mnt/scratch
|
||||
- sudo mkdir -p /mnt/test
|
||||
- time dd if=/dev/zero bs=1G count=10 of=test.img
|
||||
- time dd if=/dev/zero bs=1G count=10 of=scratch.img
|
||||
- truncate -s 100G test.img
|
||||
- truncate -s 100G scratch.img
|
||||
- sudo losetup /dev/loop20 test.img
|
||||
- sudo losetup /dev/loop21 scratch.img
|
||||
- sudo mkfs.exfat -c 4k /dev/loop20
|
||||
- sudo mkfs.exfat -c 4k /dev/loop21
|
||||
- sudo mkfs.exfat /dev/loop20
|
||||
- sudo mkfs.exfat /dev/loop21
|
||||
- cd ..
|
||||
- cd exfat-testsuites/
|
||||
- tar xzvf xfstests-exfat.tgz > /dev/null
|
||||
|
|
|
|||
Loading…
Reference in a new issue