cttyhack question
Poly-p man
pyrophobicman at gmail.com
Sun Jul 6 19:52:03 PDT 2008
I'm working on (almost done with) an init rewrite for my distro...
I started getting the "no controlling tty" message as soon as I "fixed"
my terminal opening code (close all fd's, open() the correct one, dup()
twice)...
The help message for cttyhack says that I can't open /dev/console... I
didn't. In the case of the getty's I call, I open /dev/tty1 and
/dev/tty2...
Is there another fd I need to make? Is there any other fix I can do in
my code to avoid this?
I will post any of my code that you want to see...
Thanks,
poly-p man
More information about the busybox
mailing list