Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

capturing kernel console messages

0 views
Skip to first unread message

David Laight

unread,
Aug 22, 2003, 3:54:45 PM8/22/03
to tech...@netbsd.org
I've been trying to capture kernel comsole messages hwne sysinst is
running in order to stop them messing up the screen, and being able to
display them sensibly.

However adding:
ioctl(slave, TIOCCONS, &one);
to the slave side of the pseudo tty (sysinst already uses one) seems to
cause the process to lock up waiting on TTYOUT.

My suspicions are that the programs own output to its tty are also
being intercepted - since that is also the console.
However the code is rather IO challenged so I'm not exactly sure!

Should this work?

David

--
David Laight: da...@l8s.co.uk

0 new messages