Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to use the windows version of dd to copy a RHEL iso to a USB stick. However, I wanted to zero out the drive first to ensure there is no filesystem on it before writing it out. Is there an equivalent of /dev/zero in windows that I can use as the infile?

share|improve this question

2 Answers 2

up vote 9 down vote accepted

John Newbigin's dd supports this.

Virtual devices are a new feature in version 0.4beta1.

Because windows does not have devices like the unix /dev/zero or /dev/random these have been implemented inside dd. You can use these as input files to supply an infinite amount of zeros or pseudo random data.

share|improve this answer
Worked like a charm, it's zeroing out now! Thank you for the heads up!!! –  Matthew Oct 14 '11 at 14:04

There are also some actual device drivers for /dev/zero as well as /dev/random under Win32.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.