serial console and log-in
Denis Vlasenko
vda.linux at googlemail.com
Tue Feb 27 19:40:21 UTC 2007
On Wednesday 21 February 2007 11:44, Natanael Copa wrote:
> > A bit more tests will be useful.
> > Does it work _without_ serial console?
> > In both cases, is there controlling tty? IOW:
> >
> > echo TEST >/dev/tty
> > TEST
> >
> > This is good (controlling tty exists)
> >
> > echo TEST >/dev/tty
> > sh: /dev/tty: No such device or address
> >
> > This isn't good.
>
> I backported the svn init to 1.4.1 (i depend on releases).
>
> My inittab line looks like this:
>
> ::respawn:/sbin/getty - 9600 vt100
>
> I got a login prompt but no controlling tty:
>
> -ash: cant't access tty; job control turned off
>
> ~$ echo TEST > /dev/tty
> -ash: cannot create /dev/tty: No such device or address
>
> That was on a VGA console.
>
> Then I tried to run it in qemu, with -nographic. It booted, it gave me a
> login, but same as VGA, no controlling tty.
I expected that. It stems from the fact that /dev/console
cannot be a ctty.
I'm not sure this can be classified as 'bug'.
--
vda
More information about the busybox
mailing list