Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about S/390 port



On Thursday 11 July 2002 18:43, Jake Burkholder wrote:
> Where exactly in init are you trying to print?  If you're in the
> single_user function, you can only use stdio in the forked child
> after it calls setctty. Before that you have to open an fd on
> /dev/console yourself and write(2) to it, or call login_tty on it
> which dups the standard descriptors from it. I don't know if starting
> a getty on /dev/console will work, but in any case this doesn't
> happen until you go multi-user, iirc this line is only used for the
> secure keyword.

Problem is solved, I made as you'd said earlier: fixed hc to support tty 
interface. Right now I'm debugging sh crushing with sig 11.


To Unsubscribe: send mail to majordomo@xxxxxxxxxxx
with "unsubscribe freebsd-platforms" in the body of the message