[BusyBox] init, respawn and /dev/console

Erik Andersen andersen at codepoet.org
Tue Aug 6 18:40:03 UTC 2002


On Tue Aug 06, 2002 at 07:55:55PM +0200, Joop Stakenborg wrote:
> I have lines like:
> 
> tty1::respawn:/sbin/getty 38400 tty1
> 
> etc. for every tty[1-4] in /etc/inittab.
> 
> I noticed getty does not get respawned when /dev/console is
> a symlink to /dev/tty5. I wanted console messages to go to a free
> tty. When I remove the symlink, the behaviour is fine.

/dev/console should not be a symlink.   /dev/console is
character device major 5, minor 1.  If your /dev/console
does not look like this:
	
    $ ls -l /dev/console 
    crw--w----    1 root     tty        5,   1 Aug  6 15:56 /dev/console

Then your system needs to be fixed,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list