X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 11 Sep 2004 14:44:40 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c497f4$Blat.v2.2.2$e1cadf80@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <4a021e5d.0409101415.23faf37d@posting.google.com> (laurent DOT herve23 AT libertysurf DOT fr) Subject: Re: dd acces to bloc devices now ? References: <4a021e5d DOT 0409101415 DOT 23faf37d AT posting DOT google DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: laurent DOT herve23 AT libertysurf DOT fr (laurent) > Date: 10 Sep 2004 15:15:53 -0700 > > > Date: Mon, 3 Jun 2002 09:23:44 -0500 > > From: JT Williams > > > > Is there any way to do the equivalent of > > > > dd if=/dev/fd0 of=disk.img > > > > with the djgpp port of `dd'? > > Since this message is 2 years old, is there *now* > a way to do that ? my attemps this evening end > with EACCES opening erros, permission denied. No one has done any enhancements for dd since the last time you asked. But you can make this happen yourself, by using the DJGPP File-System Extensions. Write an extension that recognizes /dev/fd and redirects all I/O for such files to BIOS functions. I once wrote such a module, and even made a version of dd that could read floppies on the sector level.