[BusyBox] Busybox init.
Hiroshi Ito
ito at mlb.co.jp
Sat Nov 6 12:17:18 UTC 2004
I should correct my mail.
From: Hiroshi Ito <ito at mlb.co.jp>
Subject: RE: [BusyBox] Busybox init.
Date: Sat, 06 Nov 2004 20:54:09 +0900
Message-Id: <20041106205409Q.ito at mlb.co.jp>
> Hello,
> > Eg:
> > initrd's linuxrc last lines...
> >
> > cd /root
> > pivot_root . initrd
> > exec chroot . /sbin/init <dev/console >dev/console 2>&1
>
> This is your fault.
>
> this means,
> process of chroot will have pid 1.
> and init will have another.
It was not true.
I checked souce of Busybox chroot, it looks just do exec.
So I don't know why your init does not work.
On my system,
awk, top, od
are not working.( but I gess these are working other system)
Maybe init does not work on your system, and bugs are somewhere.
(busybox / toolchain / kernel / uClibc ?)
Anyway, on my system(mipsel linux-2.4 uClibc), it works.
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255 FAX +81-3-5294-7256
More information about the busybox
mailing list