Am Montag, den 02.03.2009, 10:14 +0100 schrieb Michael Schnell:
> > It is possible to daemonize on uClinux without exec'ing a new process,
> > using clone() instead of vfork().  I have a version of the daemon()
> > function which does that, which I posted to the Busybox bug tracker
> > years ago; I should really submit it to uClibc.
> I found that with the arch I use (NIOS), the demonizing that is provided 
> by boa (by just doing "boa") does not work, while doing "boa -d &" works 
> just fine.
Hi Michael,

the '-d' option for boa is a no-op in uClinux, the fork call is #ifdef'd
out. Just using "boa &" will do the job. BTW, all "daemon" applications
in uClinux that I know of are backgrounded this way to work around the
fork limitation.

-Erwin


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to