Sorry, the mail was sent too early >> Well, using sparse files can work as well: create the image with >> >> dd if=/dev/zero of=file.img bs=1M count=1 seek=1000 > > Or you can use truncate from gnu coreutils:
$ truncate -s 1G file.img $ du -sh file.img 0 file.img $ ls -lh file.img -rw------- 1 vince vince 1,0G déc. 1 19:43 file.img -- Vincent Legoll