search for: console_sanity

Displaying 1 result from an estimated 1 matches for "console_sanity".

2008 Jul 09
0
console-sanity tool in klibc?
...ther that is a good idea or not is a different discussion, but he noted that /dev/tty won't work in the initramfs because no controlling console has been setup yet (I think init is the first program to do so). So, I was wondering if it might be a good idea to provide a tool in klibc (say "console_sanity") which does the console magic that sysvinit normally does (like TIOCSCTTY and tcsetattr)? Potientially it could be expanded in the future to also support loading keymaps and other bonus stuff like setting the console in utf-8 mode... It should benefit any initramfs-included shell as well sin...