Hi,
I need to do some testing and I'd like to be able to create large files of different sizes quickly.
I used to use mkfile for such tasks, but I found that it's not maintened anymore and thus removed.
Is there another util/pkg that I can use to create a large file (1G, 1T...) quickly?
I'm really sad because mkfile could just do that in a second, and there was the option to create an empty file too, so the size was noted but blocks weren't allocated.
If possible I'd like to avoid dd: not only it's slower, but it cannot create an empty file (if needed).
Thanks in advance!
I need to do some testing and I'd like to be able to create large files of different sizes quickly.
I used to use mkfile for such tasks, but I found that it's not maintened anymore and thus removed.
Is there another util/pkg that I can use to create a large file (1G, 1T...) quickly?
I'm really sad because mkfile could just do that in a second, and there was the option to create an empty file too, so the size was noted but blocks weren't allocated.
If possible I'd like to avoid dd: not only it's slower, but it cannot create an empty file (if needed).
Thanks in advance!