This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Raw devices work in latest snapshot? Need feedback prior to 1.3.4 release


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?

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]