X-Spam-Check-By: sourceware.org Message-ID: <454AA2B8.4050605@byu.net> Date: Thu, 02 Nov 2006 19:00:24 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, joel AT pivot3 DOT com Subject: Re: Mapping of \device\harddisk12 and beyond References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Loh, Joe on 11/2/2006 5:29 PM: > Really appreaciate the recommendation that Dave Korn suggested. We went > ahead and modified the cygwin1.dll for version 1.5.19-4, which is the > one we have installed for testing. In the event of checking out our > change we found a bug in the current SCSI device handling of major > number 65, i.e. any devices mapping from /dev/sdq thru dev/sdz. There > was a missing case in dtable.cc file inhibiting access to /dev/sdq thru > /dev/sdz. We have checked the latest source in the cvs repository and > noticed that the case is still missing. We are posting the fix here > just in case others are interested: Yes, this sort of trivial patch would be very likely to be included, if sent to the cygwin-patches list. > In addition, if anyone is interested in patching for more SCSI device > mapping up to 64, here are the changes we did. We were testing iSCSI > volumes up to 32, including the host direct attached, a total of 33. > Hence, we mapped all of the major block device 65, which leaves us one > short. So, we decided to define 2 more major block device, 66 & 67 to > give us a total of 64 devices for any possible future support. These > major numbers are consistent with what Linux uses according to > http://www.kernel.org/pub/linux/docs/device-list/devices.txt. Following > is the patch we did. We would appreciate it if the Cygwin developers > would consider extending the support to future Cygwin releases as we > like testing with Cygwin as it's distributed. That starts to become non-trivial, so you need to review http://cygwin.com/contrib.html, including the bit about copyright assignment. You also need a changelog entry for the patch to be accepted. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFSqK484KuGfSFAYARAnFqAKC9TOuZ8DULQXUIclMmdMHuBHGMdACfQb18 LbSfXvCqk2MHBO7dLTpxR8U= =e3gI -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/