Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Wed, 3 Oct 2001 11:04:21 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Raw devices work in latest snapshot? Need feedback prior to 1.3.4 release Message-ID: <20011003110421.E28936@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20011003000916 DOT A28775 AT redhat DOT com> <3BBAA8EC DOT 3000706 AT ece DOT gatech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3BBAA8EC.3000706@ece.gatech.edu> User-Agent: Mutt/1.3.21i 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 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. Thanks for testing this. Could you send an strace of this 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/