Darren Dunham writes: > > The reason that you cannot use Ctrl-C in Solaris 10 > > is that SMF runs legacy > > services without a control terminal. Any output that > > was sent to the > > console in pre-SMF days is now captured in the > > appropriate milestone log > > file in /var/svc/log. > > I'm supposing that it's all services and not just legacy, yes?
That's correct. > > > The reason that SMF does this is so that it can do as > > many things in > > parallel as possible. Storing service output in the > > appropriate log file > > makes it easier to diagnose failures and avoids a > > jumble of messages on the > > console. Starting services in parallel allows for > > faster boots. > > Obviously the console login is able to allocate the terminal for its use. > Would it be possible to create a wrapper that could allocate and hand off > the terminal to a script? That is an interesting suggestion. I don't know enough about the terminal driver to know how it decides where to send interrupt signals. Trevor could experiment with your suggestion. When I put my SMF hat on, however, I'd prefer to have Trevor's service be more SMF compatible and not require interrupts from the console. > > -- > Darren > > > This message posted from opensolaris.org > _______________________________________________ > smf-discuss mailing list > smf-discuss at opensolaris.org