[PATCH] Add /proc/devices
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Thu Aug 4 05:20:00 GMT 2011
This patchset implements /proc/devices[1]:
$ cat /proc/devices
Character devices:
1 mem
5 /dev/tty
5 /dev/console
5 /dev/ptmx
9 st
13 misc
14 sound
117 ttyS
136 tty
Block devices:
2 fd
8 sd
11 sr
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
The question is how to handle /dev/tty and /dev/console as the
apparently vary now, per cgf's remarks on the main list.
Patches for winsup/cygwin and winsup/doc attached.
Yaakov
[1] http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s2-proc-devices.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin-proc-devices.patch
Type: application/octet-stream
Size: 4271 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110804/082790fa/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doc-proc-devices.patch
Type: application/octet-stream
Size: 730 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110804/082790fa/attachment-0001.obj>
More information about the Cygwin-patches
mailing list