delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/19/00:47:40

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
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: <s5vs3ts11k73ostso34l9hf9jkccjet7ii@4ax.com>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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)

-- 
<O
( \   GNOME vs. KDE: the game!
 X    http://pineight.8m.com/nes.htm

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019