On Mon, Jul 27, 2009 at 06:34:47PM +0200, Marc Balmer wrote:

> Am 27.07.2009 um 18:08 schrieb Matthias Drochner:
> 
> >
> >lacom...@gmail.com said:
> >>Am I the only one to find that attaching a pseudo-device in main() is
> >>not the right way to go ?
> >
> >No. This looks like a case for "defpseudodev". You'll find a couple
> >of examples in the tree. (Or I can help if necessary.)
> 
> yes, please mail me some hints, I find it gross myself, but did not  
> yet find a better way.

Or attach it as a module - see sys/modules/example. It doesn't need to be
built as a .kmod for that to work.

Reply via email to