Subject: Re: Lack of error message with /sbin/init and missing /dev
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 11/15/2005 15:25:38
On Tue, 15 Nov 2005 22:53:10 +0900
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> wrote:
> In article <20051115143819.379b4150.lists@yazzy.org>
> lists@yazzy.org wrote:
>
> > I just accidently forgot to create /dev for my embedded image and
> > discovered /sbin/init keeps totally silent about that.
>
> At least src/sys/kern/init_main.c:check_console() warns
> if there is no /dev/console.
This is what it does anyway on my WRAP board. And then it gets silent
when there's no /dev present.
> Anyway, I think init(8) can't print any messages without device node.
That'd explain the behaviour.