dev/console catch 22

Michael Cashwell mike.cashwell at sdrcinc.net
Tue Jun 19 19:19:56 UTC 2007


On Tue, 2007-06-19 at 13:45 -0400, Mike Frysinger wrote:
> On Tuesday 19 June 2007, Michael Cashwell wrote:
> > On Tue, 2007-06-19 at 11:48 -0400, Mike Frysinger wrote:
> > > On Tuesday 19 June 2007, Michael Cashwell wrote:
> > > > I am left wondering if there isn't some way to get init to actually
> > > > reexec itself without patching it. It seems that the inittab restart
> > > > would do that if I could get init to exit. But given my inittab success
> > > > I have back the main functionality I needed so further exploration will
> > > > have to wait.
> > >
> > > might be something to look into, but personally i just dont think this
> > > has relevance in any sort of actual deployed production system
> >
> > Quite so. I think it only matters when the kernel can't open the
> > console.
> 
> which is really only an issue for development right ?  the proper production 
> image will have /dev/console in place already ...

Hmm. Yes, that's a fair point too. Production devices will boot only
from FLASH and as noted there are ways to create the special file in
such file systems. I hadn't done so in the past because under 2.4 with
devfs it wasn't needed. But I will address that now.

-Mike





More information about the busybox mailing list