Question about init and controlling TTY

David Seikel won_fang at yahoo.com.au
Mon Apr 10 06:27:42 UTC 2006


On Sun, 9 Apr 2006 21:28:04 -0500 Rob Landley <rob at landley.net> wrote:


> your use case of where this hit you (you want the login prompt to
> come up _while_ your init scripts are still writing to the console)
> doesn't strike me as being generally applicable: you can't have two
> programs with the same active controlling tty at the same time.  I'm
> still a little fuzzy on what behavior you _want_ there.
> 
> If somebody would like to weigh in with a second opinion here I'm all
> ears, but it seems that turning "-" to _not_ grab the tty sounds like
> a more reasonable move?  If nobody's ever noticed this was broken
> before now, it doesn't sound that heavily used?

In urunlevel I have the init scripts operating an a different tty,
leaving the first tty free for the login.  I also prefer to have the
login prompt independent of the init scripts, so that the user doesn't
have to wait for all those scripts to run before being able to login.

I never noticed any problem with the way I did things.

-- 
Stuff I have no control over could be added after this line.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060410/f7f2370e/attachment.pgp 


More information about the busybox mailing list