delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/13/20:33:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AD79AB5.682E186E@veritas.com>
Date: Fri, 13 Apr 2001 17:32:53 -0700
From: Bob McGowan <rmcgowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jim Harris <jimharris1999 AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problems with dd
References: <F139Mcvsq9IcVux1Zcn00000ff8 AT hotmail DOT com>

The form you're using basically refers to the floppy as a filesystem.  You need a raw device.  Use //./a: or, better and easier to remember, do a 'mount -b //./a: /dev/fd0'
and then use the /dev/fd0 with dd.

This subject has been discussed numerous times in the mailing list.  There may be more/additional useful info there.

Jim Harris wrote:
> 
> I am using Cygwin on a Windows 2000 machine - I am not logged in as
> Administrator, but I am a local administrator on this machine (I don't think
> permissions are the culprit here, but I'm including this just in case).  I
> am trying to write an image to a floppy diskette using:
> 
>   dd if=boot.img of=//a
> 
> "//a" is the only way I see any activity in the floppy drive ("a:" doesn't
> work) - I hear some spinning, but then I get the following message:
> 
>   dd: //a: Permission denied
> 
> If I try reading a floppy image using:
> 
>   dd if=//a of=foo.img
> 
> I get the following message:
> 
>   dd: //a: Invalid argument
>   0+0 records in
>   0+0 records out
> 
> Can 'dd' be used to read/write images from/to a floppy?  It seems like '//a'
> refers to the root directory of the floppy, rather than the device itself
> (i.e. /dev/fd0 in Linux).  Is there a syntax I can use to write an image to
> a floppy?
> 
> Any help would be appreciated.
> 
> Regards,
> 
> Jim Harris
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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