delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/09/11/07:46:33

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" <eliz AT gnu DOT org>
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>
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

> 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 <jeffw AT darwin DOT sfbr DOT org>
> > 
> > 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.

- Raw text -


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