delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/06/06:19:06

Date: Tue, 6 Jul 1999 13:13:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nick Gawronski <nick AT blkbox DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: gnu fileutils for dos
In-Reply-To: <Pine.GSO.4.10.9907051055280.19460-100000@blkbox.com>
Message-ID: <Pine.SUN.3.91.990706131252.17419F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 5 Jul 1999, Nick Gawronski wrote:

> Can you please compile the gnu file utilitys for dos with
> the djtar sources because I need the bios support so I can type for
> example dd if=c:\test of=a:.

This dd command should work with the existing port of Fileutils,
unless the disk in drive A: is unformatted.  You just need to give dd
a file name on drive A:, like this:

	    dd if=c:\test of=a:\file

> can someone tell me what files they changed
> to do this for me and where the bios support was in the djtar sources
> because I looked and could not find it.

The BIOS support in djtar sources is in the file oread.c.

I never tried to add such support to dd, so I cannot tell off the top
of my head what changes would be needed.  The best way to achieve the
goal is probably to use the Filesystem Extensions feature to catch the
I/O functions at the low level.  But I didn't try that myself.

- Raw text -


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