pcmcia ioctl removal

Jan Engelhardt jengelh at linux01.gwdg.de
Tue May 1 16:41:15 EDT 2007


On May 1 2007 20:10, Russell King wrote:
>On Tue, May 01, 2007 at 12:12:36PM +0200, Jan Engelhardt wrote:
>> init/obsolete.c:
>> static __init int obsolete_init(void)
>> {
>> 	printk("\e[1;31m""
>> 
>> The following stuff is gonna get removed \e[5;37m SOON: \e[0m
>> 	- cardmgr
>> 	- foobar
>> 	- bweebol
>> 
>> ");
>> 	schedule_timeout(3 * HZ);
>> 	return;
>> }
>
>The kernel console isn't VT102 compatible.  It doesn't understand any
>escape codes, at all.  Neither does sysklogd.  So the above will just
>end up as rubbish on your console.

It will (should) at least show up as nicely as in the C source code.
With escape codes, but largely readable.
If someone knows how to directly spew it to tty0 (the current active console -
most likely tty1), the better.
Anyway, I just wanted to point out how to really highlight it for the user to
see. Although then there would be the distros who obscure it with funky
bootsplash screens. But hopefully, their users would not need to care too much
for old stuff (gets updated through the distro's update mechanism)


Jan
-- 



More information about the linux-pcmcia mailing list