On Wed, Jan 30, 2002 at 06:06:50AM +0200, Jarno Paananen wrote:
> http://hardsid.sourceforge.net/ is someone is actually interested)
> that uses a kernel thread to do the actual work asynchronously from
> rest of the world. The thread is created when opening a character
> device and exits when the device is closed.
read frey's guide and look at some real code to see how to do this.
Think you are missing a reparent_to_init(). I don't know if bleeding
2.5 includes this in daemonize() yet.
You should really have asked this on kernelnewbies mailing list btw
regards
john
-- "In no sense is [in]stability a reason to move to a new version. It's never a reason." - Bill Gates - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:13 EST