delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/03/01:58:27

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: <3BBAA8EC.3000706@ece.gatech.edu>
Date: Wed, 03 Oct 2001 01:58:04 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Raw devices work in latest snapshot? Need feedback prior to 1.3.4 release
References: <20011003000916 DOT A28775 AT redhat DOT com>

Christopher Faylor wrote:
> Is anyone willing to test out raw device support (tape, floppy) with the
> current cygwin snapshot and report back on whether it works or not?
> 
> Corinna is not currently available for this so I'd like to get some
> verification that I haven't broken anything prior to releasing 1.3.4.
> 
> If you don't know what I'm talking about then you can ignore this
> message.  I'd prefer to have someone test this who has previously been
> using raw devices in version 1.3.3 so that it will be obvious if there
> are regressions.
> 
> Reports to cygwin AT cygwin DOT com, please.

CYGWIN_NT-5.0 KHELDAR 1.3.4(0.46/3/2) 2001-10-01 16:25 i686 unknown

Floppy access.

mount table:

D:\Documents and Settings\Administrator\desktop on /desktop type user 
(binmode)
D:\Utils\localtexmf on /localtex type system (binmode)
D:\Utils\MiKTeX on /tex type system (binmode)
D:\cygwin\bin on /usr/bin type system (binmode)
D:\cygwin\lib on /usr/lib type system (binmode)
D:\cygwin on / type system (binmode)
\\.\a: on /dev/fd0 type system (binmode)
C: on /c type system (binmode)
D: on /d type system (binmode)

dd if=/dev/fd0 of=disk1.img bs=1k count=1440

works.  I can take disk1.img to a linux box, mount it on a loop device, 
and everything is fine.  I copied a few files into the mounted image, 
unmounted, and copied the modified disk1.img back to my cygwin box.

dd if=disk1.img of=/dev/fd0 bs=1k count=1440
dd: opening '/dev/fd0': Permission denied.

This was as a normal user.  I then tried to write to the floppy in raw 
mode as Administrator. Also permission denied.

This looks like a regression to me.  After replacing the dll with the 
one from 1.3.3-2, I could write to the floppy in raw mode.

So, with the 20011001 snapshot, read in raw mode from floppy works, 
write does not.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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