Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] fs/skeleton: remove useless logging from inittab
@ 2011-07-01  7:38 Luca Ceresoli
  2011-07-01  7:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Luca Ceresoli @ 2011-07-01  7:38 UTC (permalink / raw)
  To: buildroot

Currently the default inittab launches a "tail -f /var/log/messages" that
remains active during the entire target uptime.
For most embedded systems this is a useless waste of resources, so remove it.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
---
 fs/skeleton/etc/inittab |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/skeleton/etc/inittab b/fs/skeleton/etc/inittab
index b1e5c16..3d0fa5e 100644
--- a/fs/skeleton/etc/inittab
+++ b/fs/skeleton/etc/inittab
@@ -29,7 +29,6 @@ null::sysinit:/bin/hostname -F /etc/hostname
 null::sysinit:/bin/touch /var/log/messages
 null::respawn:/sbin/syslogd -n -m 0
 null::respawn:/sbin/klogd -n
-tty3::respawn:/usr/bin/tail -f /var/log/messages
 
 # Stuff to do for the 3-finger salute
 ::ctrlaltdel:/sbin/reboot
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] fs/skeleton: remove useless logging from inittab
  2011-07-01  7:38 [Buildroot] [PATCH] fs/skeleton: remove useless logging from inittab Luca Ceresoli
@ 2011-07-01  7:47 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-07-01  7:47 UTC (permalink / raw)
  To: buildroot

Le Fri,  1 Jul 2011 09:38:51 +0200,
Luca Ceresoli <luca@lucaceresoli.net> a ?crit :

> Currently the default inittab launches a "tail -f /var/log/messages"
> that remains active during the entire target uptime.
> For most embedded systems this is a useless waste of resources, so
> remove it.
> 
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-01  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-01  7:38 [Buildroot] [PATCH] fs/skeleton: remove useless logging from inittab Luca Ceresoli
2011-07-01  7:47 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox