[PATCH] Add /proc/devices

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Aug 19 01:54:00 GMT 2011


On Thu, 2011-08-18 at 21:55 +0200, Corinna Vinschen wrote:
> > 2011-08-18  Yaakov Selkowitz  <yselkowitz@...>
> > 
> > 	* devices.h (fh_devices): Define DEV_MISC_MAJOR, DEV_MEM_MAJOR,
> > 	DEV_SOUND_MAJOR.  Use throughout.
> > 	* fhandler_proc.cc (proc_tab): Add /proc/devices and /proc/misc
> > 	virtual files.
> > 	(format_proc_devices): New function.
> > 	(format_proc_misc): New function.
> 
> I think the patch is basically ok, but it's missing the "cons" entry
> for consoles, equivalent to the "tty" entry.

Revised patch attached.  OK to commit?


Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygwin-proc-devices.patch
Type: text/x-patch
Size: 5083 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20110819/f59e574f/attachment.bin>


More information about the Cygwin-patches mailing list