Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 3 Oct 2001 11:21:40 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Raw devices work in latest snapshot?  Need feedback prior to 1.3.4 release
Message-ID: <20011003112140.J28936@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20011003000916.A28775@redhat.com> <3BBAA8EC.3000706@ece.gatech.edu> <20011003110421.E28936@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20011003110421.E28936@redhat.com>
User-Agent: Mutt/1.3.21i

On Wed, Oct 03, 2001 at 11:04:21AM -0400, Christopher Faylor wrote:
>On Wed, Oct 03, 2001 at 01:58:04AM -0400, Charles Wilson wrote:
>>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@cygwin.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.
>
>Thanks for testing this.
>
>Could you send an strace of this behavior?

Nevermind, Chuck.  I've duplicated the behavior.

cgf

--
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/

