This is the mail archive of the
mailing list for the Cygwin project.
Re: Device numbers, Cygwin vs. Linux
On Wed, Aug 03, 2011 at 09:33:32PM -0500, Yaakov (Cygwin/X) wrote:
>I'm working on /proc/devices, but upon comparing to Linux, I
>noticed some differences in character device numbering:
>Linux is 5,0, Cygwin is 3,0
You're using a snapshot. After my pty reorg, Cygwin, probably
erroneously, effectively symlinks /dev/tty to whatever your current
"tty" is. It will either be a pty or a console.
>Linux is 4,[N], Cygwin 136,N (major 136 is /dev/pts/N on Linux)
>Linux is 5,1, Cygwin is 3,0 (same as /dev/tty !)
>Linux is 4,[N+64], Cygwin is 117,[N]
>Why these differences?
I had a reason when I set up the device numbers but I don't remember any
more. I tried to adhere to linux but there wasn't a 1-1 correspondence.
And, possibly the numbering changed over time for linux.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple