getty optimization, 3MB ram free and 6 running process less

Radek Polak psonek2 at seznam.cz
Mon Mar 7 18:26:06 CET 2011


Alfa21 wrote:

> hi community
> 
> I see in /etc/inittab we usually spawn 6 getty:
> 1:2345:respawn:/sbin/getty 38400 tty1
> 2:23:respawn:/sbin/getty 38400 tty2
> 3:23:respawn:/sbin/getty 38400 tty3
> 4:23:respawn:/sbin/getty 38400 tty4
> 5:23:respawn:/sbin/getty 38400 tty5
> 6:23:respawn:/sbin/getty 38400 tty6
> 
> I think we can comment out them all to free 3MB of ram and to have less
> running useless programs. on my phone I've no tty active: I login only
> from ssh or from gui. (obviously virtual terminal is not affected by this
> change)

Change as you suggest is commited now. Will be available in next version. I 
have script for manual activation. It's also called when you switch to USB 
host mode.

Thanks

Radek



More information about the community mailing list