[osol-discuss] Streams or not streams, that is the question

2006-07-23 Thread Jan Engelhardt
Hello, while writing a pseudo device driver, eventually the question came up on myself whether it would be meaningful or necessary to make it a streams driver or just simply a character-based one. The driver (yet unwritten) does approximately the same as the qotd sample driver from the Device

[osol-discuss] Re: Solaris patches

2006-07-23 Thread Dmitry Mozheyko
Ok, sorry for my english, you are misunderstand me. My question is very simple: Whether is at Solaris what or a free-of-charge opportunity to receive updating? (may be latter then Sun Service Plan-owners) This message posted from opensolaris.org ___

Re: [osol-discuss] Streams or not streams, that is the question

2006-07-23 Thread Artem Kachitchkine
The driver (yet unwritten) does approximately the same as the qotd sample driver from the Device Driver Tutorial book - giving data stored in kernel memory to userspace and nothing more. If it's a simple driver not related to terminal/serial subsystem, you most likely want a character

Re: [osol-discuss] Streams or not streams, that is the question

2006-07-23 Thread Jan Engelhardt
The driver (yet unwritten) does approximately the same as the qotd sample driver from the Device Driver Tutorial book - giving data stored in kernel memory to userspace and nothing more. If it's a simple driver not related to terminal/serial subsystem, you most likely want a character

Re: [osol-discuss] Streams or not streams, that is the question

2006-07-23 Thread Artem Kachitchkine
Right, but I answered your initial question. This one: what is the advantage of STREAMS (besides the modularity and stackability)? The BSDs and Linux seem to be happy enough has more to do with the history of unix, System V vs BSD, etc. My colleagues with air conditioners in their homes

Re: [osol-discuss] Streams or not streams, that is the question

2006-07-23 Thread James Carlson
Jan Engelhardt writes: The driver (yet unwritten) does approximately the same as the qotd sample driver from the Device Driver Tutorial book - giving data stored in kernel memory to userspace and nothing more. If it's a simple driver not related to terminal/serial subsystem, you most