init on uClinux
Alexander Krause
alexander.krause at erazor-zone.de
Fri May 19 11:31:01 UTC 2006
On Thursday 18 May 2006 22:52, Rob Landley wrote:
> On Wednesday 17 May 2006 3:04 pm, Shaun Jackman wrote:
> > On 5/17/06, Alexander Krause <alexander.krause at erazor-zone.de> wrote:
> > > > How does init work on uClinux? Or does it work? (I'm thinking of fork
> > > > v. vfork.)
> > >
> > > I'm using BB's init with uclib without any trouble since some months
> > > now ;-)
> >
> > It's good to know that it works. Since init calls fork and not vfork,
> > on uClinux I'd expect fork to return ENOSYS and init to bail. Who
> > knows what magic makes this work?
>
> A patch uClinux applies to BusyBox, I'd expect.
>
> I have a project queued up to change all fork/exec pairs in busybox to
> bb_spawn(), which will also replace bb_fork_daemon_rexec() (which is too
> ugly for words...) and presumably bb_xdaemon() too.
Sure this is necessary?
I'm using the unpatched 1.1.2 release and it's init works without any hacks.
Maybe uClinux already supports fork?
I've seen some posts on their maillinglist with fork() too.
cheers Alex
--
Alexander Krause
Amtmann-Kästner-Platz 11
99091 Erfurt
Mail alexander.krause at erazor-zone.de
Tel. +49 (179) 4725826
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060519/56078d0e/attachment-0002.pgp
More information about the busybox
mailing list