Comment 2 for bug 1619351

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote : Re: Please use os.trunacte() instead of dd when creating the file

Things look fine to me too; the file is indeed a sparse file:

[14:13:55] mtrudel@demeter:~git $ ls -latr
total 417584
[...]
drwxrwxr-x 53 mtrudel mtrudel 4096 sep 1 12:45 ./
-rw-rw-r-- 1 mtrudel mtrudel 4000000000 sep 1 12:48 toto.img
drwxrwxr-x 9 mtrudel mtrudel 4096 sep 1 14:05 ubuntu-image/
[14:13:56] mtrudel@demeter:~git $ du -hs toto.img
396M toto.img