Patch to mapping up to 128 SCSI Disk Devices

Loh, Joe joel@pivot3.com
Tue Nov 14 17:53:00 GMT 2006


> > +  else if (drive < 112)          // /dev/sdcs -to- /dev/sddh
> > +    {
> > +      base = DEV_SD6_MAJOR;
> > +      drive -= 96;
> > +    }
> > +  // NOTE: This will cause multiple /dev/sddx entries in
> > +  //       /proc/partitions if there are more than 128 devices
>
> Any problem to fix that and to get rid of this comment?  If not,
> can you please convert the comment to C-style /**/?

We did not attempt to change the implementation due to lack of fully
understanding the implications of how this function is called.  We did
noticed the behavior in /proc/partition when we first attempted to
connect using the stock 1.5.19 cygwin.  Hence, we felt it may help
others to document the behavior.  Our intent is to increase the device
mapping with minimal change to existing implementation.

We have converted all comments to use C-style /**/ and attached the
patch as a file instead.

Thanks,
Joe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.jl-061114
Type: application/octet-stream
Size: 9161 bytes
Desc: patch.jl-061114
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20061114/aa603f9d/attachment.obj>


More information about the Cygwin-patches mailing list