Let me spam too :)
the trick is to change buffer size. let's say bs=1024k will be much faster.
And you do have dd for windows.

On 26/07/07, Michael Clark <[EMAIL PROTECTED]> wrote:
Anand Vaidya wrote:
> Linux Way of doint it:
> dd if=/dev/zero of=filename.txt bs=1 count=$bytes
>
>

Couldn't resists optimising this further using sparse files :)

  dd if=/dev/zero of=filename.txt bs=1 count=0 seek=$bytes

See how fast it is to make a 1TB file this way e.g.:

  time dd if=/dev/zero of=filename.txt bs=1 count=0 seek=1T

~mc

_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet


_______________________________________________
Slugnet mailing list
[email protected]
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to