On Tue, 05 Jul 2011 01:07:38 +0200, Gilles <[email protected]>
wrote:
>Here's the inittab:
>============
># Startup the system
>#console::sysinit:/bin/sh /etc/rc
>#tty::sysinit:/bin/sh /etc/rc
>ttyBF0::sysinit:/bin/sh /etc/rc
>
># Set up a console shell
>#console::respawn:/bin/login -f root
>#tty::respawn:/bin/login -f root
>ttyBF0::respawn:/bin/login -f root

The problem I seem to be having, is that the device nodes are created
dynamically by mdev, and that point, neither /dev/tty nor /dev/ttyBF0
exist, so it fails with the following error message:
=============
VFS: Mounted root (ext2 filesystem) on device 31:0.
Freeing unused kernel memory: 108k freed
can't open /dev/tty: No such file or directory
can't open /dev/tty: No such file or directory
Jan  1 00:00:16 (none) syslog.info syslogd started: BusyBox v1.16.2
...
process '/bin/login -f root' (pid 32) exited. Scheduling for restart.
can't open /dev/tty: No such file or directory
process '/bin/login -f root' (pid 36) exited. Scheduling for restart.
can't open /dev/tty: No such file or directory
=============
VFS: Mounted root (ext2 filesystem) on device 31:0.
Freeing unused kernel memory: 108k freed
can't open /dev/ttyBF0: No such file or directory
can't open /dev/ttyBF0: No such file or directory
...
process '/bin/login -f root' (pid 32) exited. Scheduling for restart.
can't open /dev/ttyBF0: No such file or directory
process '/bin/login -f root' (pid 36) exited. Scheduling for restart.
can't open /dev/ttyBF0: No such file or directory
=============

Does someone have an idea about what to do? Is it possible to run mdev
before any reference is made to tty?

Thank you.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to