Subject: Re: Manually created console in /dev
To: Chris Tribo <firstname.lastname@example.org>
From: Marcin Jessa <email@example.com>
Date: 06/30/2005 17:35:38
On Thu, 30 Jun 2005 11:18:49 -0400
Chris Tribo <firstname.lastname@example.org> wrote:
> On Jun 30, 2005, at 11:07 AM, Marcin Jessa wrote:
> > Hi.
> > I dont know if it's a bug but when I manually create console device
> > in empty /dev on a drive with mknod console c 0 0 then boot that
> > drive, init does not create any new devices in /dev. I did not test
> > it creating any other devices.
> > Kernel version 3.99.6.
> That is the expected behavior. If you don't have a /dev/console, init
> will create /dev entries. If you do, it's assumed that the other
> entries are there. If you're going to create devices by hand, why not
> make all of them or make none of them and let init do its thing?
Becouse of init saying something like "warning no /dev/console" at boot before creating any other devices.
I now assume this is the result of the check init performs, without diving into init.c