[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Re: inittab and console
From:       "Ryan" <yanglifeng () powercn ! com>
Date:       2005-06-22 1:03:32
Message-ID: MAILSERVERvXee4fDGC00000bcb () mailserver ! powercn ! com
[Download RAW message or body]

Hello, ralphs,


Maybe, Paul's patch might help you.


note that getty is taking care of some important housekeeping in
this case.  if you attempt to simplify your system and eliminate
the login prompt by doing something like this:

     ttyS0::respawn:/bin/sh

you'll end up with a shell without job control.

we addressed this with:
    http://bugs.busybox.net/view.php?id=24

with that patch you can write the above line this way:

     ttyS0::respawn:-/bin/sh

(which is currently allowed but ignored by busybox init) and the shell
will be given its own session and controlling tty.

our real application of this isn't for direct shell startup.  but
by doing this:

    console::sysinit:-/etc/rcS

we can arrange for rcS to have some tty-aware pause and escape-to-shell
hooks which work correctly.


Best,
 				

Ryan
2005-06-22




_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic