[PATCH] Cygwin: Provide more COM devices
Sun Dec 15 18:50:00 GMT 2019
On 2019-12-14 11:38, Achim Gratz wrote:
[Sorry, thought I'd sent this, it was backgrounded!]
What are the distinctions between /dev/sd[a-c][a-z], /dev/sdd[a-z], and
/dev/sd[a-z] appearing in parts of devices.cc?
s == 'd'?
> if (len > 7 && len < 12 && s == 'd'
- if (len > 7 && len < 12 && s == 'd'
+ if (DP_LEN < len && len <= DP_LEN + 4 && 'd' == s[DP_LEN - 1]
> /* Generic check for /dev/sd[a-z] prefix */
> && strncmp (s, DISK_PREFIX, DP_LEN) == 0
> && s[DP_LEN] >= 'a' && s[DP_LEN] <= 'z')
There are 127 each cons,nst,pty,ptym,st,ttyS entries allocated for potential
devices, which will not exist on most systems.
Note that GPT supports 128 partitions per device.
Are there systems using more than 32 of any supported device?
Are there documented Windows I/O device addressing limits?
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
More information about the Cygwin-patches