Search This Blog


Using fsutil to Create an Empty File (dd alternative)

In a previous post we learnt about the dd utility and how we can use that to wipe a drive with zeros.

The dd utility can be used to create a file full of zeroes, but there is also a windows utility built right into fsutil that allows you to do the same thing.

Both of the following examples create an empty file full of zeroes, each with a size of 10GB:

dd if=/dev/zero of=/path/zeroedfile.dd bs=4M count=2560

fsutil file createnew zeroedfile.dd 10000000000

Both of these tools can be very useful in testing raw sequential read/write disk performance as well as testing out upload compression.

No comments:

Post a Comment