Link to home
Start Free TrialLog in
Avatar of roline
roline

asked on

change systemwide stderr

Hello.

I have a question regarding the systemwide stderr. I have an embedded x386 System with linux, without any vga port. The console is set to ttyS1. In order not to see any error messages I would like to change the stderr one time during system start to /dev/null. Then, all later started processes shall use the new stderr as output.
Do anyone have an idea how to do this? (shell script or C/C++-Code)?

Thank you very much.

R.Stader
ASKER CERTIFIED SOLUTION
Avatar of sppalser
sppalser
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of paullamhkg
paullamhkg

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is to:

Points split between sppalser and dlinvill

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Paul
EE Cleanup Volunteer