From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: If dd doesn't support /dev/zero, what _does_ it support? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 22 X-Trace: /KtlGVAuawTX8EScFeyLEIKaQtbhuSc2NBM2qv0nOsGA+uQ+cDrjeMYZWHq/pafFBg9cMDPEY5im!OLMksdak/VHLNfSRU6zVBd9tTutYkLOskoelRCtkYh20sPl1YljJs7QQLft1V4RHgBZrdccEoj3D!qYu7ew== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Mon, 18 Dec 2000 21:11:31 GMT Distribution: world Date: Mon, 18 Dec 2000 21:11:31 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com OK, I try to use the DJGPP port of GNU dd to create an 8 KB file filled with nul bytes. DJGPP presumably "transparently supports Unix-style devices such as `/dev/null' and `/dev/tty'" to an extent (DJGPP FAQ 22.21), but I can't get it to work. C:\kdg>dd if=/dev/zero of=kdg.chr count=8 bs=1024 c:/personal/djgpp/bin/dd: /dev/zero: No such file or directory (ENOENT) What's the proper method to make a file filled with zeroes? And how do I list the supported devices? This is what I get: C:\>ls /dev/ c:/personal/djgpp/bin/ls: /dev/: No such file or directory (ENOENT) --