[1.16.2] Can't stop "ping" with CTRL+c
Laurent Bercot
ska-dietlibc at skarnet.org
Tue Jul 5 18:10:45 UTC 2011
> 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:
> (...)
> Does someone have an idea about what to do? Is it possible to run mdev
> before any reference is made to tty?
Don't start your /bin/login or getty process before some basic
one-time initialization has been made - in which you'll populate your
/dev directory with mdev -s.
In the sysvinit language, that means:
- make sure your "mdev -s" command happens in the "rc.sysinit" script
- start your getty or login process *in a runlevel*, i.e. when the
rc.sysinit process has completed.
For instance:
S0:12345:respawn:/sbin/getty ttyBF0
should open a terminal on /dev/ttyBF0 once your early initialization
has been made and your init system is in some runlevel from 1 to 5.
For an easier time with initialization and service supervision,
consider runit or s6:
http://smarden.org/runit/
http://www.skarnet.org/software/s6/
--
Laurent
More information about the busybox
mailing list