Skip to contentSkip to conversation

tail -f /var/log/messages in inittab

Buildroot Luca Ceresoli 3 participants 3 messages Jun 30, 2011 – Jul 4, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I've been staring at the following line in fs/skeleton/etc/inittab:

Quoted 1 line

tty3::respawn:/usr/bin/tail -f /var/log/messages

and wondered if it's useful to anybody.
I guess in many embedded systems it is a useless waste of resources. At least it is on mine, so I wiped it in my port.

Out of curiosity, does anybody really use it?
Or should I send a patch that removes it?

Luca

#1 lore raw

Le Thu, 30 Jun 2011 18:48:57 +0200,
Luca Ceresoli <[email protected]> a ?crit :

Quoted 6 lines

and wondered if it's useful to anybody.
I guess in many embedded systems it is a useless waste of resources. At least it is on mine, so I wiped it in my port.

Out of curiosity, does anybody really use it?
Or should I send a patch that removes it?

I don't use it, and I don't think many embedded systems have a useful tty3. So I will definitely ACK a patch that removes it.

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw
In reply to Luca Ceresoli
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Luca" == Luca Ceresoli <[email protected]> writes:

Luca> Hi,
Luca> I've been staring at the following line in fs/skeleton/etc/inittab:

Quoted 1 line
Quoted 1 line

tty3::respawn:/usr/bin/tail -f /var/log/messages

Luca> and wondered if it's useful to anybody.
Luca> I guess in many embedded systems it is a useless waste of resources. Luca> At least it is on mine, so I wiped it in my port.

Sorry, I missed your mail, but it was pointed out to me on IRC as well, so I removed it.

Signature · 1 line
Bye, Peter Korsgaard