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

2011-03-07 Thread Radek Polak
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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2011-03-06 Thread Patryk Benderz
[cut]
 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)
Good idea, would be nice to have it as default in distros, as IMHO most of 
users do not use all consoles.
-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2011-03-05 Thread Alfa21
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)

-- 
ALFA21 IS PROVIDED AS IS AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR 
IMPLIED.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2011-03-05 Thread Gennady Kupava
hi, 

You can install usb keyboard and use it. But sure, no need in 6 virtual
consoles on fr.

+1

Gennady

В Сбт, 05/03/2011 в 17:34 +0100, Alfa21 пишет:
 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)
 



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


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

2011-03-05 Thread Timo Juhani Lindfors
Alfa21 freerun...@my.is.it writes:
 I think we can comment out them all

Not sure what we here means but yes certainly it is a good idea to
disable gettys that can't be used anyway.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community