[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] inetutils-1.8 - ifconfig -a doesn't work as expected
From: |
Giampaolo Gallo |
Subject: |
Re: [bug-inetutils] inetutils-1.8 - ifconfig -a doesn't work as expected |
Date: |
Thu, 29 Jul 2010 17:55:06 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.34.1_gp; KDE/4.4.5; x86_64; ; ) |
You did thanks..
I flushed the stdout and the result was the same, so, IMHO it isn't a
buffering problem.
The command "ifconfig -a" sould show all the interfaces installed on my
machine. It shows only the loopback (lo) interface instead. The program parses
the full content of /proc/net/dev but it shows only the first interface it
finds, i.e. "lo".
I tried also by changing the backend (system/linux.* -> system/generic.*)
without success.
My machine is a Linux x86_64 2.6.34.1 with glibc 2.11.2. If you want more
information please ask and I will be happy to answer.
Regards
Giampaolo
On Sunday 25 July 2010 13:58:00 Alfred M. Szmidt wrote:
> I'm not sure if I answered this or not, the output is not strange.
> printf can flush it buffer when it wants, so output is not guaranteed
> to be as you write the calls. If you want to flush it, you have to do
> so explicitly.